From: Yui NARUSE Date: 2009-09-01T19:57:12+09:00 Subject: [ruby-core:25242] [Bug #2026] String encodings are not supported by most of IO on Linux Issue #2026 has been updated by Yui NARUSE. Current Ruby thinks the filesystem encoding of Unix is binary. Because our initial research shows users of Unix expect it. As you know, Windows is UTF-16LE/Locale (see also win32-unicode-test), and Mac OS X is UTF-8. If some OSs or distributions imply their filesystem encoding, we can follow it. > The only question is how to ensure that string coming from Ruby, > in whatever encoding, will be automatically converted into UTF-16. use Encoding.default_internal. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2026 ---------------------------------------- http://redmine.ruby-lang.org