Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.5
-
Fix Version/s: JRuby 1.7.0.pre1
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:OS:Windows XP SP2
Jruby version:1.5.6 and 1.6.5
-
Number of attachments :
Description
Assume that we have a directory ,the directory name contains none ascii character(such like "照片",means photo in chinese)。
try Dir.entries(directoryname)
under ruby1.8.6,the method works ok.
under jruby 1.5.6 and jruby 1.6.5,the error is "No such file or directory - No such directory"
Activity
Hiro Asari
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
Assume that we have a directory ,the directory name contains none ascii character(such like "照片",means photo in chinese)。
try Dir.entries(directoryname); under ruby1.8.6,the method works ok. under jruby1.5.6andjruby1.6.5,the error is "No such file or directory - No such directory" |
Assume that we have a directory ,the directory name contains none ascii character(such like "照片",means photo in chinese)。
try {{Dir.entries(directoryname)}} under ruby1.8.6,the method works ok. under jruby 1.5.6 and jruby 1.6.5,the error is "No such file or directory - No such directory" |
Charles Oliver Nutter
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Charles Oliver Nutter [ headius ] | |
| Fix Version/s | JRuby 1.7 [ 17049 ] | |
| Resolution | Fixed [ 1 ] |