From: ashbb Date: 2012-05-22T22:15:29+09:00 Subject: Re: reading from and writing to a Unicode encoded file - issues when using Shoes --14dae9340f2debd74f04c09fcfb6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Sebastjan, > I know the main issue is, that my input file is Unicode encoded Oh, I see. Why not using nkf? Try out the following: require 'nkf' Shoes.app do extend NKF file =3D ask_open_file data =3D IO.read file para nkf('-W16w', data) end In my case with Shoes 3 (0.r1514), I can see some special characters in your language (=C4=8D and =C5=A1) on the Shoes window. > Two more notes: > - the *shy app is about 420 MB in size. Is that normal? > - the *shy app takes quite some time to load. Is that normal? Umm,... I'm not sure,... but I don't think they are normal... ashbb --14dae9340f2debd74f04c09fcfb6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Sebastjan,

> I know the main issue is, that my input file is U= nicode encoded
Oh, I see.
Why not using nkf?

Try out the follo= wing:

require 'nkf'
Shoes.app do
=C2=A0 extend NKF
= =C2=A0 file =3D ask_open_file
=C2=A0 data =3D IO.read file
=C2=A0 para nkf('-W16w', data)
e= nd

In my case with Shoes 3 (0.r1514), I can see some special charact= ers in your language (=C4=8D and =C5=A1) on the Shoes window.

> T= wo more notes:
> - the *shy app is about 420 MB in size. Is that normal?
> - the = *shy app takes quite some time to load. Is that normal?
Umm,... I'm = not sure,... but I don't think they are normal...

ashbb
--14dae9340f2debd74f04c09fcfb6--