From: ashbb Date: 2012-05-21T21:28:04+09:00 Subject: Re: reading from and writing to a Unicode encoded file - issues when using Shoes --90e6ba6e901487e62904c08b088a Content-Type: text/plain; charset=ISO-8859-1 Hi Sebastjan, What platform and Shoes are you using? I downloaded your code (dup_app.rb) and replaced the following two lines. Then it worked with Shoes 3 (0.r1514) on my Windows 7. open(file, "r") {|fin| data=fin.read() } open(file, "w:UTF-8") { |fout| fout.write(data) } if data ashbb --90e6ba6e901487e62904c08b088a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Sebastjan,

What platform and Shoes are you using?

I downlo= aded your code (dup_app.rb) and replaced the following two lines.
Then = it worked with Shoes 3 (0.r1514) on my Windows 7.

=A0=A0=A0=A0 open(= file, "r") {|fin| data=3Dfin.read() }
=A0=A0=A0=A0 open(file, "w:UTF-8")=A0 { |fout| fout.write(data) }= if data

ashbb

--90e6ba6e901487e62904c08b088a--