unicode to string conversion

Luca Calderano calderano at sgaspa.it
Thu May 8 14:12:01 EDT 2003


Can someone tell me how can I

translate a unicode string into a string ???

es.

>>> UnicodeString =u'questa è bella'

>>> UnicodeString
u'questa \xe8 bella'


I would like to translate

	u'questa \xe8 bella'
into
	'questa è bella'

and put the result into a new variable

thanks in advance

Luca






More information about the Python-list mailing list