Project

General

Profile

Bug #2137

Dir.glob does not support unicode on Windows

Added by Vit Ondruch about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
ruby -v:
ruby 1.9.2dev (2009-09-02) [i386-mswin32_90]
[ruby-core:25731]

Description

=begin
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.
=end


Related issues

Duplicates Ruby trunk - Bug #1685: Some windows unicode path issues remain Closed 06/24/2009

History

#1 Updated by Usaku NAKAMURA about 7 years ago

  • Assignee set to Usaku NAKAMURA

=begin

=end

#2 Updated by Usaku NAKAMURA almost 7 years ago

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

=begin

=end

#3 Updated by Usaku NAKAMURA over 6 years ago

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

=begin

=end

#4 [ruby-core:37375] Updated by Yui NARUSE over 5 years 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.

#5 [ruby-core:37559] Updated by Usaku NAKAMURA over 5 years ago

  • Status changed from Assigned to Closed

p Dir.glob('*'.force_encoding('utf-8')).first.encoding #=> #Encoding:UTF-8

Also available in: Atom PDF