From: Usaku NAKAMURA Date: 2011-06-27T16:08:33+09:00 Subject: [ruby-core:37559] [Ruby 1.9 - Bug #2137][Closed] Dir.glob does not support unicode on Windows Issue #2137 has been updated by Usaku NAKAMURA. Status changed from Assigned to Closed p Dir.glob('*'.force_encoding('utf-8')).first.encoding #=> # ---------------------------------------- Bug #2137: Dir.glob does not support unicode on Windows http://redmine.ruby-lang.org/issues/2137 Author: Vit Ondruch Status: Closed Priority: Normal Assignee: Usaku NAKAMURA Category: M17N Target version: ruby -v: ruby 1.9.2dev (2009-09-02) [i386-mswin32_90] =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 -- http://redmine.ruby-lang.org