royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yishay Weiss <yishayj...@hotmail.com>
Subject RE: Java Default Encoding and Royale Compiler
Date Mon, 04 Dec 2017 09:18:29 GMT
Java seems [1] to take the system encoding which can vary between windows and other machines.



My main editors are Eclipse (FB) and vim, Eclipse is set to use UTF-8 while vim is using latin1
by default. But in any case, these are easily configurable so I don’t see the harm in requiring
users to encode to UTF-8.



[1] https://stackoverflow.com/questions/1006276/what-is-the-default-encoding-of-the-jvm



________________________________
From: Alex Harui <aharui@adobe.com.INVALID>
Sent: Monday, December 4, 2017 7:36:50 AM
To: dev@royale.apache.org
Subject: Re: Java Default Encoding and Royale Compiler



On 12/3/17, 3:08 AM, "Yishay Weiss" <yishayjobs@hotmail.com> wrote:

>JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
>
>Is there any reason not to hard code the file encoding in the compiler?
>
I don't know for sure, but the first question that comes to mind is why
Java itself hasn't bothered to default to a particular file encoding.

Also, especially for folks using Windows, what kinds of editors do you use
and what file encoding do those editors use?

My 2 cents,
-Alex


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message