Tim
Tim

Reputation: 1606

I use UTF-16LE when I parsing xml. But, it does not work on some device

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?

Upvotes: 1

Views: 111

Answers (1)

izb
izb

Reputation: 51771

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.

Upvotes: 0

Related Questions