-- if we get an error, then i simply say it's utf8 and I don't do anything
That's wrong.
If your input is bytes that are a valid UTF-8 sequence, you still need to call decode on it to have usable strings in Perl.
In reply to Re^5: convert files to ansi (8859-1)
by Corion
in thread convert files to ansi (8859-1)
by Yaerox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |