Bug #2137

Dir.glob does not support unicode on Windows

Added by Vit Ondruch over 2 years ago. Updated 8 months ago.

[ruby-core:25731]
Status:Closed Start date:09/23/2009
Priority:Normal Due date:
Assignee:Usaku NAKAMURA % Done:

0%

Category:M17N
Target version:-
ruby -v:ruby 1.9.2dev (2009-09-02) [i386-mswin32_90]

Description

Although there are some methods which support wide characters (e.g. open_dir_handle), at the end, the directory listing does not work or returns array with corrupted entry names. This applies to both, trunk and also win32-unicode-test branch.

Related issues

duplicates ruby-trunk - Bug #1685: Some windows unicode path issues remain Assigned 06/24/2009

History

Updated by Usaku NAKAMURA over 2 years ago

  • Assignee set to Usaku NAKAMURA

Updated by Usaku NAKAMURA about 2 years ago

  • Status changed from Open to Assigned
  • Target version set to 2.0.0

Updated by Usaku NAKAMURA over 1 year ago

  • Status changed from Assigned to Open
  • Assignee deleted (Usaku NAKAMURA)

Updated by Yui NARUSE 8 months ago

  • Status changed from Open to Assigned
  • Assignee set to Usaku NAKAMURA
  • Target version deleted (2.0.0)
What's happened on this, please explain.

Updated by Usaku NAKAMURA 8 months ago

  • Status changed from Assigned to Closed
p Dir.glob('*'.force_encoding('utf-8')).first.encoding #=> #<Encoding:UTF-8>

Also available in: Atom PDF