royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yishay Weiss <yishayj...@hotmail.com>
Subject Java Default Encoding and Royale Compiler
Date Sun, 03 Dec 2017 11:08:11 GMT
Hi,

We ran into a problem with this type of code:

                                                s = s.replace(/\^e/g,"\u2026");//Ellipsis

Royale compiler replaces u2026 with the mapped value which depends on file encoding. I’m
not sure what my default encoding was, but our app wouldn’t build for release unless I set
the following env var:

JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8

Is there any reason not to hard code the file encoding in the compiler?



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