From: "U.Nakamura" Date: 2010-05-18T22:07:33+09:00 Subject: [ruby-core:30302] Re: [Bug #1685] Some windows unicode path issues remain Hello, In message "[ruby-core:30296] Re: [Bug #1685] Some windows unicode path issues remain" on May.18,2010 19:30:53, wrote: > Noticed an interesting ChangeLog entry from yesterday on > ruby_1_9_2 branch: > > Mon May 17 11:09:58 2010 NAKAMURA Usaku > > merge from trunk (r27856, r27857) > > * lib/fileutils.rb (FileUtils::Entry_#entries): returns pathname in > UTF-8 on Windows to allow FileUtils accessing all pathnames > internally. In this case, Dir.entries already has its own "some way". So I can use it. > Would this approach also be considered for Dir.pwd: > > result = Dir.pwd(:encoding => "UTF-8") > > ? This might be a moot point. For instance, there might be an insistence that Dir.pwd should accept only the encoding because there is no possiblity that it takes other arguments. Regards, -- U.Nakamura