in reply to Text file to UTF-8 encoding

Perl distributions usually include the piconv utility program (GNU iconv(1) "reinvented" in Perl). E.g.:
$ piconv -f iso-8859-2 -t utf8 latin2file.txt > utf8file.txt
Update: s/cpan:/doc:/ in piconv link