Working with string.upper/lower() non english characters

As I mention in another thread, string.upper/lower does not work with non english characters.

I ran into an issue where I need to lower/upper case swedish åÅ äÄ öÖ but like I said it doesn’t work, would be exceptionally thankful if anyone who have dealt or have a solution to this could share it before I embark on a massive google spree in the middle of the night…

massive thanks! [import]uid: 13560 topic_id: 35569 reply_id: 335569[/import]

Yes, I’m in the same case.
I think the Corona guys must solve this issue. [import]uid: 44013 topic_id: 35569 reply_id: 144662[/import]

Try this

https://github.com/tst2005/lua-utf8
https://github.com/tst2005/lua-utf8/blob/master/utf8.lua
or maybe this
https://code.google.com/p/cakesaddons/source/browse/trunk/glib/lua/glib/unicode/utf8.lua?r=424

google utf8 lua

/J [import]uid: 147488 topic_id: 35569 reply_id: 144669[/import]

Thanks blomjens1!

I’m going to check it [import]uid: 44013 topic_id: 35569 reply_id: 144672[/import]

Yes, I’m in the same case.
I think the Corona guys must solve this issue. [import]uid: 44013 topic_id: 35569 reply_id: 144662[/import]

Try this

https://github.com/tst2005/lua-utf8
https://github.com/tst2005/lua-utf8/blob/master/utf8.lua
or maybe this
https://code.google.com/p/cakesaddons/source/browse/trunk/glib/lua/glib/unicode/utf8.lua?r=424

google utf8 lua

/J [import]uid: 147488 topic_id: 35569 reply_id: 144669[/import]

Thanks blomjens1!

I’m going to check it [import]uid: 44013 topic_id: 35569 reply_id: 144672[/import]

Yes, I’m in the same case.
I think the Corona guys must solve this issue. [import]uid: 44013 topic_id: 35569 reply_id: 144662[/import]

Try this

https://github.com/tst2005/lua-utf8
https://github.com/tst2005/lua-utf8/blob/master/utf8.lua
or maybe this
https://code.google.com/p/cakesaddons/source/browse/trunk/glib/lua/glib/unicode/utf8.lua?r=424

google utf8 lua

/J [import]uid: 147488 topic_id: 35569 reply_id: 144669[/import]

Thanks blomjens1!

I’m going to check it [import]uid: 44013 topic_id: 35569 reply_id: 144672[/import]

Yes, I’m in the same case.
I think the Corona guys must solve this issue. [import]uid: 44013 topic_id: 35569 reply_id: 144662[/import]

Try this

https://github.com/tst2005/lua-utf8
https://github.com/tst2005/lua-utf8/blob/master/utf8.lua
or maybe this
https://code.google.com/p/cakesaddons/source/browse/trunk/glib/lua/glib/unicode/utf8.lua?r=424

google utf8 lua

/J [import]uid: 147488 topic_id: 35569 reply_id: 144669[/import]

Thanks blomjens1!

I’m going to check it [import]uid: 44013 topic_id: 35569 reply_id: 144672[/import]

Did you ever get this working? I tried to implement utf8 string library suggested by blomjens1 but the upper() and lower() functions don’t seems to take strings as arguments.

“I think the Corona guys must solve this issue.”

Seriously? String library is part of Lua language. Corona is build using this coding language so it’s not they part to do something with this.

You can compare it to saying “This worker have to do something about production process of hammer he uses, because its grip is too hard”

Did you ever get this working? I tried to implement utf8 string library suggested by blomjens1 but the upper() and lower() functions don’t seems to take strings as arguments.

“I think the Corona guys must solve this issue.”

Seriously? String library is part of Lua language. Corona is build using this coding language so it’s not they part to do something with this.

You can compare it to saying “This worker have to do something about production process of hammer he uses, because its grip is too hard”