wei-spring / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

String with emoji chars make build fail with iOS newVM=true. oldVM and Android are ok. #1352

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. put an emoji string in a class
2. build for iOS with newVM=true

What is the expected output? What do you see instead?
build complete, instead it fail.

What version of the product are you using? On what operating system?
last cn1 on netbeans 8.0 on Mac OS X

Please provide any additional information below.
attached the build log and a file that should give error

Original issue reported on code.google.com by rbry...@gmail.com on 15 Feb 2015 at 12:57

Attachments:

GoogleCodeExporter commented 9 years ago
I can't even open this file in the IDE I just get squares. Then it doesn't 
compile properly and results in question marks in the simulator. You need to 
use the \u notation to create a valid file. What encoding do you use?

Original comment by shai.almog on 15 Feb 2015 at 3:14

GoogleCodeExporter commented 9 years ago
on netbeans I also get squares, is a matter of fonts. if you open it with text 
pad or Xcode you can see emoji.
Building for newVM=false is ok.
All sources are UTF-8.

Original comment by rbry...@gmail.com on 15 Feb 2015 at 3:20

GoogleCodeExporter commented 9 years ago
This is fixed in SVN, will be fixed in the next server update.

Original comment by shai.almog on 16 Feb 2015 at 7:55

GoogleCodeExporter commented 9 years ago
Thanks!

Original comment by rbry...@gmail.com on 16 Feb 2015 at 10:15