single-byte encoding encoder research

These are tests for the encoder algorithm of all the single-byte encodings  
as defined by http://dvcs.w3.org/hg/encoding/raw-file/tip/Overview.html  
They are generated from generate.py using encodings.json and indexes.json  
as input, both of which can be found in the Encoding Standard repository.

The results seem to be that Firefox always uses the index. That Chrome  
(and Safari) have a few additions (so-called "fallback mappings") as well  
as sometimes mapping fullwidth ASCII to ASCII. That Opera always maps  
fullwidth ASCII to ASCII. (Fullwidth ASCII to ASCII is mapping U+FF01–FF5E  
to 0x21-0x7E.)

Given these results I think I prefer not changing the standard which  
states to use the index.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Friday, 13 April 2012 19:52:39 UTC