You only want use encoding "utf8"; (or use utf8; for that matter) if your script is encoded in UTF-8 (the latter is one of the possible encodings for unicode). Apparently, your script is not in UTF-8, as 0xf6 for sure is the latin1 encoding of the character "ö". varian's suggestion should work if you simply remove the use encoding "utf8" (latin1 is the default encoding).
In reply to Re^4: How to convert this to swedish characters?
by almut
in thread How to convert this to swedish characters?
by learn_perl_se
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |