From: Nikolai Weibull Date: 2011-10-25T17:48:48+09:00 Subject: [ruby-core:40338] [ruby-trunk - Bug #5483][Open] Pathname doesn’t deal with encodings properly Issue #5483 has been reported by Nikolai Weibull. ---------------------------------------- Bug #5483: Pathname doesn���t deal with encodings properly http://redmine.ruby-lang.org/issues/5483 Author: Nikolai Weibull Status: Open Priority: High Assignee: Category: core Target version: ruby -v: ruby 1.9.3dev (2011-09-13 revision 33263) [i386-mingw32] Encoding.find('filesystem') # => Windows-1252 (Pathname('//Server/Share'.encode('filesystem'))+'Entry'.encode('filesystem')).to_path.encoding # => ASCII-8BIT This actually seems to be a problem with File.join, as File.join doesn���t retain any sort of encoding of the input arguments. -- http://redmine.ruby-lang.org