Bertrand Kintanar wrote: > 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. > Maybe you could gzip it and base64 encode it before stuffing it into the DB?
John _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/