I thought support for non-ASCII characters was only added in 5.8, so decoding a string it next to impossible in 5.6. Changing the encoding of a string is possible, of course. Text::Iconv can do that, but since it relies on an external library, it might be tricky to install in Windows.