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

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
http://hsivonen.iki.fi/

Received on Thursday, 14 June 2007 04:48:41 UTC