http://www.perlmonks.org?node_id=544930


in reply to utf8 and perl 5.6

Look at the similar discussion: Converting character encodings. With sub latin1 in the code examples you might even manage to do it in 5.6 without relying on additional modules.