Can Ruby 1.9.1 finally get a list of filenames if the filenames have unicode characters on Windows?
Can Ruby 1.9.1 finally get a list of filenames开发者_如何学运维 if the filenames have unicode characters on Windows?
I think back in the Ruby 1.8.6 and 1.8.7 days, that wasn't possible on Windows.
Ruby 1.9.2/YARV 1.9.2 has massively improved non-ASCII filename support on Windows. You can read all about it in bug #1685: Some windows unicode path issues remain.
However, it is still possible that it will work for you on 1.9.1 if you don't hit any of the bugs.
精彩评论