From: SpringFlowers AutumnMoon Date: 2009-04-08T14:59:54+09:00 Subject: Ruby 1.9 still cannot list all files on Vista or XP? I just tried using Ruby 1.9 and it seemed that it still cannot list all files in a folder on XP or Vista when the filenames contain Chinese characters, Japanese characters, or any foreign characters other than English. These two methods are used: entries and glob files = Dir.new(basedir).entries Dir.chdir(basedir) files = Dir.glob("*"); both methods show ????????.txt when the filename has foreign characters. Can Ruby 1.9 readily handle this task rather than resorting to Win32API? Thanks. -- Posted via http://www.ruby-forum.com/.