[Sugar-devel] Unicode strings in translations

Manuel Kaufmann humitos at gmail.com
Mon Aug 13 21:42:46 EDT 2012


On Mon, Aug 13, 2012 at 5:23 PM, Alan Jhonn Aguiar Schwyn
<alanjas at hotmail.com> wrote:
> My solution: when load a string, convert it:
>
> name_converted = unicode(name, 'UTF-8')

Yes, this is the __solution__. But I don't want to write this line all
around my code, I expect that Python does this for me :)

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/


More information about the Sugar-devel mailing list