missing encoding attribute
--------------------------
Key: JRUBY-1123
URL: http://jira.codehaus.org/browse/JRUBY-1123
Project: JRuby
Issue Type: Bug
Components: Miscellaneous
Affects Versions: JRuby 1.0.0
Environment: Darwin dorado.local 8.9.3 Darwin Kernel Version 8.9.3:
Fri Apr 27 14:50:07 PDT 2007; root:xnu-792.19.5~2/RELEASE_I386 i386 i386
MacBook2,1 Darwin
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
Reporter: OZAWA Sakuro
Assignee: Thomas E Enebo
Priority: Trivial
In environments whose file encoding is different from ISO-8859-1(i.e. Shift_JIS
for Japanese), following warnings wil be produced. Compilation will finish
successfully, though.
Adding encoding= attribute to javac task will fix it, or you can write such
characters in unicode escapes(backslash U).
compile-jruby:
[javac] Compiling 624 source files to
/Users/sakuro/jruby-1.0/build/classes/jruby
[javac] /Users/sakuro/jruby-1.0/src/jregex/Bitset.java:312: Warning: This
character cannot be mapped to SJIS encoding.
[javac] b1.setRange('?','?');
[javac] ^
[javac] /Users/sakuro/jruby-1.0/src/jregex/Bitset.java:312: Warning: This
character cannot be mapped to SJIS encoding.
[javac] b1.setRange('?','?');
[javac] ^
[javac] 2 warnings
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email