[pygtk] Problem in fetching Unicode from URL and displaying it in PyGTK widget
b3rxkintanar at gmail.com
Fri Jul 17 20:37:15 WST 2009
On 7/17/09 8:23 PM, saeed wrote:
> Use function "eval", for example:
> data = 'á'
> uni = eval("u'\\%s'"%data[2:]) ## u'\xE1' or u'á'
> st = uni.encode('utf-8') ## 'á'
> Is there another problem?
thanks saeed! that works great! how can i make this work if the
character to be converted is found between characters. e.g. Guzán ?
More information about the pygtk