On Thu, Jan 03, 2002 at 07:24:36AM +0100, J?r?me Marant wrote:
> Junichi Uekawa <[EMAIL PROTECTED]> writes:
>
> > ermmm.. that makes this code unnecessarily large.
> >
> > Why is it not enough to specify 'utf-8' in here ?
> >
> > for lang in what:
> > if do_convert:
> > e = engine ('utf-8', lang.charset)
> > else:
> > e = do_not_convert ()
>
> I'm sorry but the engine object comes from a module that is neither
> part of Python, nor python-xml so I can't really help with it.
JFYI, engine is a wrapper over iconv interface. When all this was started, the
latest version of python was 1.5.2, and there was no way to work with iconv.
Its source code should be in the langs directory, BTW.
--
Misha
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]