jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • JRuby
  • JRUBY-3032

Failure to walk file paths with unicode characters

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: JRuby 1.1.4
  • Fix Version/s: None
  • Component/s: Core Classes/Modules
  • Labels:
    None

Description

The attached script fails to successfully walk directories that have unicode characters in them. For example, this path:

iPhoto Library/Originals/2006/23 août 2006/IMG_0013.JPG

Fails with this error:

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

We're obviously not decoding/encoding a string correctly somewhere and the unicode chars are demolished as a result.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    find-photos.rb
    03/Oct/08 9:11 AM
    5 kB
    Charles Oliver Nutter

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. JRUBY-3379 Windows file encoding issue - unicode characters like æ ø å

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Open - The issue is open and ready for the assignee to start work on it.
is duplicated by

Bug - A problem which impairs or prevents the functions of the product. JRUBY-5905 Windows: JRuby (jgem) throws error if user directory containcs Central European (non-Latin) characters

  • Major - Major loss of function.
  • Resolved - A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Ollivier Robert added a comment - 30/Nov/09 9:07 AM

Please note that MacRuby 0.5b2 has a similar issue so I have opened a similar ticket there.
https://www.macruby.org/trac/ticket/465

Show
Ollivier Robert added a comment - 30/Nov/09 9:07 AM Please note that MacRuby 0.5b2 has a similar issue so I have opened a similar ticket there. https://www.macruby.org/trac/ticket/465
Hide
Permalink
Hiro Asari added a comment - 05/Jul/11 7:46 AM

Though this one is older, JRUBY-3379 has a few more comments, so I'm closing this one.

Show
Hiro Asari added a comment - 05/Jul/11 7:46 AM Though this one is older, JRUBY-3379 has a few more comments, so I'm closing this one.

People

  • Assignee:
    Unassigned
    Reporter:
    Charles Oliver Nutter
Vote (0)
Watch (0)

Dates

  • Created:
    03/Oct/08 9:11 AM
    Updated:
    05/Jul/11 7:59 AM
    Resolved:
    05/Jul/11 7:59 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.