Hi I know this sounds strange so I'm hoping someone with a bit more knowledge on encoding can answer this.
I'm trying to pass a
String as UTC2 to a third party (They are rendering this as an SMS). I am using UTF-16 as, as far as I know this is a super-set of UTC2.
Unfortunately I have been running into problems, after a lot of trial and error I am getting the String Виталий А Терниевский back as Виталий<corrupted char><corrupted char>Терниевский.
What I don't understand is why.
I am getting this result by encoding the String as UTF-16BE -> %04%12%04%38%04%42%04%30%04%3B%04%38%04%39+%04%10+%04%22%04%35%04%40%04%3D%04%38%04%35%04%32%04%41%04%3A%04%38%04%39
Then decoding this as UTF-8 -> 8B0;89 "5@=852A:89
I thought that this would just have corrupted the data but it is being rendered as something. Does anyone have an idea on what the second String represents?
Cheers,
Barry