utf 8 - Codename One - UTF8 source non-ascii error -
i have problem codename 1 eclipse project. encoded in cp1252, , after setting encoding of whole project utf-8 , replacing non-ascii char, simulator fine, on devices, non-ascii char messed up.
i'm not using cn1 localization api, it's planned future release, strings hardcoded.
more, retrieve data webservice, , non-ascii char in data showing properly, that's problem hardcoded strings.
here 2 screenshot, first cn1 simulator, second android phone (same problem on ios device):
any idea of messed ?
in eclipse javac called in build.xml
, doesn't inherit encoding of project netbeans version does. need edit build.xml , add encoding attribute these javac calls:
<javac encoding="utf-8" ... >
Comments
Post a Comment