[I18n-sig] XML entity codec (Re: Output encodings again)

uche.ogbuji@fourthought.com uche.ogbuji@fourthought.com
Wed, 29 Nov 2000 09:59:42 -0700

> uche.ogbuji@fourthought.com wrote:

> > Might I have any pointers?  Any cheat-sheets?  I'll probably be implementing
> > in C.
> I think the easiest would be using the C implementation of the
> charmap codec as template and working your way onward from there.
> The codec provides all necessary functionality except that it
> can't handle n-1 and 1-n encodings which you would obviously
> need for XML entities. Shouldn't be hard to add though...
> BTW, I think such a codec would make a good addition to the
> standard lib's encodings package, so if you are willing to
> contribute this, I'd promote adding it to the package.

OK, let's make a deal.  I write it, you help me out when I get stuck, we add 
it to the std libs.  Everyone is happy.


Uche Ogbuji                               Principal Consultant
uche.ogbuji@fourthought.com               +1 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com 
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python