royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com.INVALID>
Subject Re: Java Default Encoding and Royale Compiler
Date Tue, 05 Dec 2017 07:52:37 GMT


On 12/4/17, 11:11 PM, "Yishay Weiss" <yishayjobs@hotmail.com> wrote:

>>So, for any of our users, we could add yet another compiler option to set
>>the encoding different from the system encoding in the case that someone
>>really wants them to be different, or we can just leave things as they
>>are
>>in the code and maybe document how to use JAVA_TOOL_OPTIONS.
>
>The advantage of a compiler option is that we’re not affecting the user’s
>preferences for other java tasks. [1] suggests that we can just change
>our scripts to run java with -Dfile.encoding=…

Because the scripts I think you are talking about are not always run by
the IDEs and Ant and Maven.  MXMLC.jar is called directly by Ant, Maven,
and FlashBuilder for sure.

-Alex

Mime
View raw message