Forum Discussion
belltown
10 years agoRoku Guru
"tim_beynart" wrote:
I thought XML parsers were required to handle UTF-16?
Correct, according to the W3C Recommendation: Extensible Markup Language (XML) 1.0 (Fifth Edition):
4.3.3 Character Encoding in Entities
...
All XML processors MUST be able to read entities in both the UTF-8 and UTF-16 encodings.
Entities encoded in UTF-16 MUST and entities encoded in UTF-8 MAY begin with the Byte Order Mark
But just because something is designated as MANDATORY in the standards, doesn't mean anything as far as Roku is concerned.
If the Roku is not reading the UTF-16 data, then your options are to convert the data to UTF-8, either on your server, or on your Roku, depending on how "efficient" you care about making your implementation.