[Sugar-devel] Unicode strings in translations

Manuel Kaufmann humitos at gmail.com
Tue Aug 14 17:58:51 EDT 2012


On Tue, Aug 14, 2012 at 6:18 PM, S. Daniel Francis
<francis at sugarlabs.org> wrote:
> Now the question is: Why should we get translations as Python type
> Unicode and encode them again in utf-8?

The reason is given here:

"Software should only work with Unicode strings internally, converting
to a particular encoding on output."[1]

http://docs.python.org/howto/unicode.html#tips-for-writing-unicode-aware-programs

You can read the whole article. It's interesting. There are a lot of
things that I didn't know :)

-- 
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