Project

General

Profile

Actions

Bug #2137

closed

Dir.glob does not support unicode on Windows

Added by vo.x (Vit Ondruch) about 15 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-09-02) [i386-mswin32_90]
Backport:
[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 1 (0 open1 closed)

Is duplicate of Ruby master - Bug #1685: Some windows unicode path issues remainClosedusa (Usaku NAKAMURA)06/24/2009Actions
Actions #1

Updated by usa (Usaku NAKAMURA) about 15 years ago

  • Assignee set to usa (Usaku NAKAMURA)

=begin

=end

Actions #2

Updated by usa (Usaku NAKAMURA) about 15 years ago

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

=begin

=end

Actions #3

Updated by usa (Usaku NAKAMURA) over 14 years ago

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

=begin

=end

Updated by naruse (Yui NARUSE) over 13 years ago

  • Status changed from Open to Assigned
  • Assignee set to usa (Usaku NAKAMURA)
  • Target version deleted (2.0.0)

What's happened on this, please explain.

Updated by usa (Usaku NAKAMURA) over 13 years ago

  • Status changed from Assigned to Closed

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0