All pastes #987593 Raw Edit

Stuff

public text v1 · immutable
·published 2008-04-16 17:13 UTC
rendered paste body
from lxml.builder import E
from lxml import etree
print etree.tostring(E.p(u'\xc3\xbf'))
print etree.tostring(E.p('\xc3\xbf'.decode('utf-8')))
print etree.tostring(E.p('\xc3\xbf'.decode('utf-8')), encoding='utf-8')