From: Regis d'Aubarede Date: 2012-05-18T19:14:25+09:00 Subject: Re: reading from and writing to a Unicode encoded file Hello, tested on windows: open("data.txt", "rb:UTF-16LE") {|fin| open("odata.txt", "wb:UTF-8") { |fout| fout.write(fin.read()) } } bye -- Posted via http://www.ruby-forum.com/.