W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] charset sniffing algorithm and space characters around the charset name

From: Henri Sivonen <hsivonen@iki.fi>
Date: Thu, 14 Jun 2007 14:48:41 +0300
Message-ID: <11A06E20-4926-496A-B18A-D043A7E04465@iki.fi>
As written, the charset sniffing algorithm doesn't trim space  
characters from around the tentative encoding name. html5lib test  
case expect the space characters to be trimmed.

I suggest trimming space characters (or anything <= 0x20 depending on  
which approach is the right for compat).

Henri Sivonen
hsivonen at iki.fi
Received on Thursday, 14 June 2007 04:48:41 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC