[lxml-dev] UTF-8 not supported

Alexander Shigin shigin at rambler-co.ru
Mon May 25 18:28:55 CEST 2009


В Пнд, 25/05/2009 в 11:23 -0500, Ovnicraft пишет:
> I write something very simple, http://lxml.pastebin.com/m3f8c5b9c
> 
> With utf-8, http://lxml.pastebin.com/m72a14d. 


In [33]: etree.tostring(openerp, pretty_print=True, encoding='utf-8') == \
   ....:     etree.tostring(openerp, pretty_print=True,
encoding='utf-8')
Out[33]: True

Is it possible that you paste the wrong code snippet? I don't see any
non-ascii chars and the output is the same for me.



More information about the lxml-dev mailing list