The appended script may be helpful, a quick combo of Perl and iconv;
it
makes conversions between UTF-8 and the main Cyrillic encodings. Hack
it to your convenience; I have no pride in authorship.
Advice from Perl gearheads accepted w/o question.
Max Pyziur
pyz@xxxxxxxxx
Thanks Max!
Your script is a nice example of perl scripting. It would be useful for
people who often change file encoding. My solution was:
for f in folder/*; do
iconv -f koi8-r -t utf8 $f > tmp.tmp
mv tmp.tmp $f
done
in a bash script.
Respectfully
--
Hiisi.
Registered Linux User #487982. Be counted at: http://counter.li.org/
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines