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?

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top