http://qs321.pair.com?node_id=1121062


in reply to Re^3: How to sanely handle unicode in perl?
in thread How to sanely handle unicode in perl?

Also note that "echo \xC3\xB6" won't always work... conceptually, Perl's strings are sequences of integers; there is no guarantee about their internal representation - in particular, no guarantee that C3 and B6 are actually bytes. Try "echo \xC3\xB6\x{FFFD}" and see what happens...