W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2012

[whatwg] Encodings and the web

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 06 Jan 2012 16:38:35 +0100
Message-ID: <op.v7n5qltz64w2qv@annevk-macbookpro.local>
On Thu, 22 Dec 2011 15:33:35 +0100, L. David Baron <dbaron at dbaron.org>  
> This seems like one of those areas where it may be substantially
> easier to figure out what implementations do by looking at their
> code than by reverse-engineering, at least for the implementations
> whose code is available publicly.
> Gecko's code lives in
> http://mxr.mozilla.org/mozilla-central/source/intl/uconv/ .  There
> are others who know it substantially better, but I or others could
> probably answer questions you have about how it works and how to
> understand it.
> I'm not the right person for pointers to other implementations,
> though.

Thanks, I'm doing a combination of code inspection, reverse engineering  
(especially for edge cases), and applying some lessons we learned (e.g.  
non-greedy error handling).

So far I defined the to Unicode algorithms for hz-gb-2312, euc-jp,  
iso-2022-jp, and shift_jis.


Feedback welcome!

Anne van Kesteren
Received on Friday, 6 January 2012 07:38:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:10 UTC