m...@wilfred.me.uk
unread,Aug 3, 2013, 7:41:07 AM8/3/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to creole...@googlegroups.com
I've noticed that creole converts unicode objects into UTF-8 encoded bytestrings.
In [3]: from creoleparser import text2html
In [5]: text2html(u"esapañol")
Out[5]: '<p>esapa\xc3\xb1ol</p>\n'
This isn't a problem for me, but it's not documented as far as I can see. Could it be added to the docs? Personally, I think always outputting unicode (maybe even forcing unicode input too) would be a good thing, but I understand if you disagree or are concerned about backwards compatibility.
Thanks.