[Tutor] Help with codecs

Charlie Clark Charlie Clark <charlie@begeistert.org>
Thu, 19 Jul 2001 10:54:31 +0200


I often use the same text for a web page and e-mail newsletter and  would 
like to write 2 codecs to generate HTML-equivalents and 7-bit-safe plain text 
for e-mails.

A codec for HTML was initially suggested but then dropped and as far as I 
know no one wanted to do 7-bit (ä -> ae, etc.).

I have looked at the documentation of codecs but I'm afraid I don't know 
really where to start. I had initially written functions for the work but 
have since written a module which contains two incomplete dictionaries with 
the appropriate characters.

Thanx for any help

Charlie
-- 
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-463-6199
http://www.begeistert.org