W3C home > Mailing lists > Public > www-validator@w3.org > October 2000

hex FFFE at the start of UTF-16 stream

From: Jan Egil Kristiansen <janegil@landsbank.fo>
Date: Wed, 4 Oct 2000 10:18:10 -0400 (EDT)
Message-Id: <4.3.2.7.0.20001004150415.00b08800@lbk.olivant.fo>
To: www-validator@w3.org
http://lbk.olivant.fo/test/mini_x.html was validated OK when saved in 
ISO-8859-1. But when I used Notepad to 'save as UNICODE', the validator 
complains of "Missing DOCTYPE declaration at start". Could it be caused by 
the hex FFFE ("") inserted by Notepad to mark the file as UTF-16? 
(http://validator.w3.org/check?uri=http%3A%2F%2Flbk.olivant.fo%2Ftest%2Fmini_x.html)

http://www.unicode.org/unicode/reports/tr6/index.html#Signature seems to 
allow that kind of marking of the file. But maybe the HTTP server is 
supposed to remove the signature, and replace it with a charset in the HTTP 
header?

Jan Egil Kristiansen
The Governmental Bank of the Faroe Islands
Received on Wednesday, 4 October 2000 13:55:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:54 GMT