From: Yukihiro Matsumoto Date: 2009-09-01T04:02:19+09:00 Subject: [ruby-core:25231] Re: [Bug #2026] String encodings are not supported by most of IO on Linux Hi, In message "Re: [ruby-core:25220] [Bug #2026] String encodings are not supported by most of IO on Linux" on Tue, 1 Sep 2009 00:27:14 +0900, Vit Ondruch writes: |If string used as path has different than UTF-8, the path created on file system is incorrect. The described faulty behavior is common for most of Dir and IO actions. Attached script demonstrates the behavior on sample of Dir#mkdir method. Could you explain what you expect for the sample script? Ruby 1.9 does not convert path encoding automatically, since path may be encoded in various encodings, for example, under my home directory, I have files with names in EUC-JP and UTF-8. So auto conversion would cause problem. It is responsibility of user program to make sure the encoding of the path strings. matz.