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


in reply to Re: Mixed character encoding issues
in thread Mixed character encoding issues

my hunch is that you do some sort of double encoding, so I would suggest to decode the character from UTF16 to UTF8

I did have that thought, and made some attempts to decode from utf16 using Encode.pm, but was unsuccessful. I tried using variations on this convention:

$string = decode("utf16", $octets);

but I get this error:

UTF-16:Unrecognised BOM 3230 at C:/Dwimperl/perl/lib/Encode.pm line 17 +6

Can you give me a nudge as to how to decode from UTF16?

I appreciate your help very much. The information regarding the font is interesting. I am certain the language at issue is not Japanese, but the principle should be the same. I will try to find out through our deployment group what languages are in play. That info has been difficult to come by so far.

/dennis