Question

Device is getting a UTF16 encoded XML response then I parse xml.
On some device it doesn't work. All these devices support utf-16.
What may be the problem in?

Was it helpful?

Solution

It's tricky without seeing code, but if I remember correctly, some nokia devices were choosy about whether you used a hyphen or not in the encoding name. If "UTF16" doesn't work, try "UTF-16" instead, or vise versa.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top