UTF string a.k.a localize language that doesn't use roman alphabet

Hi guys,

I’m trying to localize my game to different languages, mainly Chinese, Korea and Japan.

Right now I’m having trouble in storing my UTF texts to work with LUA. I have my strings collection in an XML file but after I make my xml into a UTF document my parser code won’t work anymore.

If I try to store the string collection in a LUA file, I don’t think LUA file can be a UTF document and it only supports ANSI characters.

I’ve been searching this forum for any topics regarding this but I don’t think I’ve found the answer yet.

Any ideas how to do this? Is there any developers out there who have localized their apps into different languages?

Thanks

I do not know if it is editor options or new corona ability but there ia way to use such strings in lua files. Previously I used notepad++ with standard settings and had same problem. Month ago I switched to sublime text editor and when I testd newText with japanese string (no special settings) and it worked both simulator and my Android phone.

Try this out, maybe it will work for you too.

Hmm… let me see that, I work mostly on windows and actually use Notepad++ :slight_smile: I know Notepad++ can edit in UTF-8 as well.

I can use sublime and will try it

thanks

So check this out

 http://www.youtube.com/watch?v=KAWQc7ZK05U

Now it’s really pleasant to write for me when changed from notepad - autocomplete, lua words colors, snippets

I do not know if it is editor options or new corona ability but there ia way to use such strings in lua files. Previously I used notepad++ with standard settings and had same problem. Month ago I switched to sublime text editor and when I testd newText with japanese string (no special settings) and it worked both simulator and my Android phone.

Try this out, maybe it will work for you too.

Hmm… let me see that, I work mostly on windows and actually use Notepad++ :slight_smile: I know Notepad++ can edit in UTF-8 as well.

I can use sublime and will try it

thanks

So check this out

 http://www.youtube.com/watch?v=KAWQc7ZK05U

Now it’s really pleasant to write for me when changed from notepad - autocomplete, lua words colors, snippets