>   Something like that makes it work:
> 
>   outfile.write ('    "%s",\n' % e.convert(lang.name).encode('utf-8'))
> 
>   but according to the code, you'll have to do this only if you want
>   to convert. So, if it were me, I would separate the 2 cases.


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 ()


-- 
[EMAIL PROTECTED] : Junichi Uekawa   http://www.netfort.gr.jp/~dancer
GPG Fingerprint : 17D6 120E 4455 1832 9423  7447 3059 BF92 CD37 56F4


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to