in reply to
Decoding bad UTF-16
Use
Encode
::decode
to decode your text. The third argument to
decode()
determines what happens when a mal-formed character is to be converted.
Comment on
Re: Decoding bad UTF-16
Select
or
Download
Code
In Section
Seekers of Perl Wisdom