in reply to Re: Dealing with strange data encoding issue
in thread Dealing with strange data encoding issue

UTF-16 is not quite the same thing as UCS-2.

Basically, UCS-2 is to UTF-16 as iso-latin-1 is to UTF-8.

There's not enough info to know whether the encoding used in the OP is UCS-2 or UTF-16. To play it safe, accept UTF-16 and send UCS-2.

Update: Noteable flaw in the comparison:

  • Comment on Re^2: Dealing with strange data encoding issue