rockswang / haxe-i18n

Macro driven internationalization/localization toolkit for Haxe
24 stars 4 forks source link

Unicode support? #2

Closed hopewise closed 10 years ago

hopewise commented 10 years ago

Hi,

As I am trying to use unicode in stablexui, I tried to put the unicode character at strings.xml like this:

but, in the widget, I just see ࡎ, but not the character it self, any idea please?
rockswang commented 10 years ago

You can simply use native characters in <your_locale>/strings.xml, just make sure the file is encoded with UTF-8, UTF-8 encoding is while supported by Haxe compiler.

hopewise commented 10 years ago

Thanks, it worked .. :)

On Sat, Oct 5, 2013 at 11:33 AM, Rocks Wang notifications@github.comwrote:

You can simply use native characters in /strings.xml, just make sure the file is encoded with UTF-8, UTF-8 encoding is while supported by Haxe compiler.

— Reply to this email directly or view it on GitHubhttps://github.com/rockswang/haxe-i18n/issues/2#issuecomment-25744404 .

Kind Regards,

Samir Sabri Software Architect& Developer www.dcaclab.com Jordan-Middle East