On Thu, Aug 16, 2012 at 9:29 AM, Benjamin Berg <ben...@sugarlabs.org> wrote:
> Disclaimer: I have not read the entire discussion.

and you've missed a bit :-)

> So, in Sugar we are mixing python unicode strings, and utf-8 encoded

No. We have been _temporarily_ mixing Python unicode UTF-8 with ASCII strings.

We used to import gtk, which had the side effect of telling Python to
assume any string constant in the code to be unicode UTF-8 instead of
ASCII.

As part of the gtk3 transition, we discovered importing gtk3 doesn't
have that side effect. But we want Python to assume string constants
to be UTF-8, so should tell it so explicitly instead of relying on
side-effects :-) -- look at the emails from dnarvaez and manuq.

Manuq - btw, I agree with upstream that this is not a GTK3/PyGI bug,
it is an improvement.


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to