[pygtk] Problem in fetching Unicode from URL and displaying it in PyGTK widget
Bertrand Kintanar
b3rxkintanar at gmail.com
Fri Jul 17 20:01:15 WST 2009
On 7/17/09 7:53 PM, Chris Camacho wrote:
> hmmm...
>
> being that
>
> print '\\'
>
> displays
>
> '\'
>
> isn't that a bug?
>
>
that is one of my question that it been troubling me. why is replace
have a special treatment in dealing with escape characters while other
function such as print does the exact thing which escapes the character.
if i follow it correctly replace should only see one backslash to be
inserted in the string instead of two.
i have found this post in python mailing list:
http://mail.python.org/pipermail/python-list/2007-May/614590.html.
But I want the exact opposite from that post. from HTML entries to
Unicode. so there must be some way to reverse that function. correct?
More information about the pygtk
mailing list