TextEncoder no longer supports UTF-16

Published: | Categories: DOM

Description

The support for the UTF-16BE and UTF-16LE encodings has been removed from the TextEncoder interface, according to the latest Encoding standard. The constructor now ignores the optional utfLabel argument and UTF-8 will always be used instead.

References