From: Ryan Davis Date: 2009-04-08T16:35:08+09:00 Subject: Re: Ruby 1.9 still cannot list all files on Vista or XP? On Apr 7, 2009, at 22:59 , SpringFlowers AutumnMoon wrote: > both methods show ????????.txt when the filename has foreign > characters. Can Ruby 1.9 readily handle this task rather than > resorting > to Win32API? Thanks. show where? on what? what text encodings does it handle? what text encodings did you set ruby up for? On OSX: % cd x % touch ☃ % ls ☃ % ruby -e 'p Dir["*"]' ["\342\230\203"] % ruby -KU -e 'p Dir["*"]' ["☃"] % ~/.multiruby/install/1.9.1-p0/bin/ruby -e 'p Dir["*"]' ["☃"] You've got 2 sides to this equation, ruby's encodings, and your environment's encodings.