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

Henri Sivonen hsivonen at iki.fi
Thu Jun 14 04:48:41 PDT 2007


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/





More information about the whatwg mailing list