I'm reading input that is UTF-16 encoded, but there appears to an improperly encoded character. I confirmed that even Word can't decode the character (and restores a box).
I have no control over the encoding of the input, so my only option is to deal with the bad encoding. When Perl encounters this it dies "malformed HI/LO surrogate". Is there ANY way to handle this without dying, i.e., tell Perl to skip the char and move on?
Any help will be much appreciated, thanks!