[pygtk] Problem in fetching Unicode from URL and displaying it in PyGTK widget

Bertrand Kintanar b3rxkintanar at gmail.com
Fri Jul 17 12:06:19 WST 2009


Hi list

I've been working on a personal project and for some reason I need to 
read a html file and then store what I've read into database. And since 
there is huge possibility that the html file contains some unicode in it 
(e.g. `ñ' ) I'm having a hard time converting/displaying the right 
ascii equivalent to it (e.g. letter `ñ'). I don't care what format to 
store it to database, may it be in coded form or the ascii form. I can 
just make a function to convert it later. My problem is how to convert it.

Any help is always appreciated.

Thank you,
Bertrand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20090717/88ec1009/attachment.htm 


More information about the pygtk mailing list