http://qs1969.pair.com?node_id=486988


in reply to UTF-8

Anonymous,

It might make more sense to use iconv, a command created to do exactly what you want. Likely, simply invoking it at your shell will accomplish what you need, after setting the proper parameters.

Text::Iconv would let you access that functionality from Perl.

Take a look here and see if this tool does what you need. If you need further help, please update your question with more details and/or code you've tried.

Best regards

-lem, but some call me fokat