After downloading and compiling the GNU libiconv stuff (which resulted
in
giving me the relevant iconv.dll), retrieving a version of iconv.so
from the
Ruby 1.8.1-20040402-mswin32.tar.gz file, and plonking those files in
the
correct sub-directories of the directory where I installed Ruby 1.8.1
in the
first place, everything works as it should. Thank you very much for
your
advice.I had just started using Yoshida Masato’s Uconv routines (which worked
perfectly well, thank you as well Yoshida Masato), but I prefer to use
software that has been declared as ‘standard’ by the Ruby community,
and am
glad I can do so from now on.
Glad I could help.
Take a look also in the RAA for iconv/io. It contains a couple of
utilities to use IO objects that’ll automatically convert. Attached are
a couple of useful extensions to it.
iconv-io-ext.rb (922 Bytes)