Bugzilla – Bug 228
Give more graceful messages on mislabeled UTF-16
Last modified: 2009-11-23 17:16:54 CET
20:58 < zcorpan_> hsivonen:
http://validator.nu/?doc=http%3A%2F%2Fwww.validome.org%2Fout%2Fena13&showsource=yes could have more useful messages
21:01 < hsivonen> zcorpan_: do you have a suggestion on how to handle it better?
21:01 < hsivonen> (aside: in practice that one isn't much of a concern because
UTF-16 isn't too popular for serialization)
21:01 < Dashiva> hsivonen: You could search for a doctype in any poisition, and
if you find one, report that as a possible error cause?
21:02 < zcorpan_> hsivonen: sniff for a utf-16 BOM even if http content-type
says something different