unicode encoding usablilty problem

Vinay Sajip vinay_sajip at yahoo.co.uk
Fri Feb 25 16:21:10 EST 2005


> This will help in your code, but there is big pile of modules in stdlib 
> that are not unicode-friendly. From my daily practice come shlex 
> (tokenizer works only with encoded strings) and logging (you cann't 
> specify encoding for FileHandler).

You can, of course, pass in a stream opened using codecs.open to StreamHandler.
Not quite as friendly, I'll grant you.

Regards,


Vinay Sajip 







More information about the Python-list mailing list