WallyDD wrote:

> I have something of a csv file which has somehow been converted into
> something that looks like this;
> " FOZ DE IGUAZ\u00da" and " R\u00cdO DE JANEIRO"
> 
> Is there a simple way to convert this into something a little bit
> readable?
> 
> Is there a simple command in python to convert this?

>>> print "R\u00cdO DE JANEIRO".decode("unicode-escape")
RÍO DE JANEIRO

Peter

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to