Failure to walk file paths with unicode characters
--------------------------------------------------

                 Key: JRUBY-3032
                 URL: http://jira.codehaus.org/browse/JRUBY-3032
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1.4
            Reporter: Charles Oliver Nutter
         Attachments: find-photos.rb

The attached script fails to successfully walk directories that have unicode 
characters in them. For example, this path:
{noformat}
iPhoto Library/Originals/2006/23 août 2006/IMG_0013.JPG
{noformat}
Fails with this error:
{noformat}
/Volumes/Users/roberto/Shell/find-photos.rb:237:in `main': No such file or 
directory - No such file or directory - /Volumes/Users/roberto/Pictures/iPhoto 
Library/Originals/2006/23 ao????t 2006/IMG_0013.JPG (Errno::ENOENT)
  from /Volumes/Users/roberto/Shell/find-photos.rb:235:in `each'
{noformat}
We're obviously not decoding/encoding a string correctly somewhere and the 
unicode chars are demolished as a result.

-- 
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


Reply via email to