piotrzarzycki21 commented on issue #405: chinese char support URL: https://github.com/apache/royale-asjs/issues/405#issuecomment-479747156 @yestaro , @JamesPengTW here is the solution for Moonshine. Probably VSCode have this setup at some point default - I'm not sure. To test that stuff I have used MX [Hello World](https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale/HelloWorld) example and newest nightly build [2115](http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/2115/) of Royale. `<mx:Label text="來做編譯的嗎? 是否中文字的輸出沒問題" x="20" y="20" />` Go to Windows Environment variables and add -JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8  I have that option setup for a long time now, so I tried build this Hello World without it and I was able to reproduce your problems. Once you setup above parameter in environment variable restart Moonshine. At the end of the build you should see something like that if option is setup correctly. ``` : The project 'HelloWorld' has been successfully compiled and optimized. : 79.393026687 seconds : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 : Project Build Successfully. : Launching application HelloWorld. : Application HelloWorld started. ``` Let me know if it helps.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
