Cannot open nor stat non-ASCII file names
-----------------------------------------
Key: JRUBY-2150
URL: http://jira.codehaus.org/browse/JRUBY-2150
Project: JRuby
Issue Type: Bug
Components: Interpreter
Affects Versions: JRuby 1.1RC2
Environment: Any with non-ASCII file names
Reporter: SUZUKI Hisao
Attachments: Dir_JRybFile_patch.zip
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 [email protected]:
Subject: [jruby-dev] Cannot open nor stat non-ASCII file names
Date: Mon, 18 Feb 2008 21:42:12 +0900
--
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