On Mon, 28 Jul 2003 12:17:40 -0300
Christian Reis <[EMAIL PROTECTED]> wrote:

> > When I call from Python glade.XML("mygladefile", domain="mydomain")
> > wrapper code does not use domain, instead passes it into libglade2
> > by calling glade_xml_new. And then libglade2 uses "mydomain"
> > internally. But, AFAIU gtk requires that all strings are in UTF-8
> > encoding. Therefore libglade2 should contain call to
> > bind_textdomain_codeset(domain, "UTF-8"). But it does not. And, of
> 
> Is this the same as defining "UTF-8" for the locale class LC_CHARSET?

Yes, but only for gettext and only for one domain.

> What version of Python is this? 2.3 changed the way Python's locale
> module notified the C library (basically, it calls them; 2.2 and
> earlier did not).

Python 2.2
I think that locale works fine. gettext which called indirectly from
libglade2 works as it should be. It correctly defines system locale and
converts extracted strings into it. But this behavior is not the same as
GTK need. GTK needs UTF-8, right?

-- 
Alexandr V. Demeshko <[EMAIL PROTECTED]>
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to