Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1RC2
-
Fix Version/s: JRuby 1.1RC3
-
Component/s: Interpreter
-
Labels:None
-
Environment:Any with non-ASCII file names
-
Patch Submitted:Yes
-
Number of attachments :
Description
The present JRuby treats any string as a byte-transparent
iso-8859-1 sequence and passes it reinterpreting into UTF-8
to Swing and other Java APIs. For consistency, the same
reinterpretation is necessary for JRuby to pass strings
to java.io.* APIs in order to implement the File and Dir
classes of Ruby.
For now, you cannot open nor 'stat' any files with non-ASCII
names in UTF-8.
See the post to dev@jruby.codehaus.org:
Subject: [jruby-dev] Cannot open nor stat non-ASCII file names
Date: Mon, 18 Feb 2008 21:42:12 +0900
It's got a patch...get into 1.1.