Re: [patch] Unicode support for GTK, QT, TK

Magnus Lie Hetland <[email protected]> Tue, 26 Aug 2003 18:24:17 +0200
Newsgroups gmane.comp.python.anygui.devel
Message-ID <[email protected]>
Sascha Silbe <[email protected]>:
>
> Hi!
> 
> I've attached a patch against the current CVS version that fixes the 
> handling of strings in the GTK, QT and TK backends. They now use 
> unicode(x) instead of str(x) for all text values.
> All three widget sets seem to handle Unicode strings properly. At least 
> I can use german Umlauts in my MUA prototype. :)

Sounds sensible. Will this work for all platforms with these backends
(i.e. Windows and UNIX/Linux)? E.g. does both the Windows and Linux
versions of Qt support Unicode in these places?

I have no objections to adding this, except if it breaks something;
any input on that?

Also: Does it work with Python 2.1? At the moment we're supposed to
support 2.1, so... (I see no great harm in migrating to 2.2 soon,
since we're obviously still in an early stage, after all.)

> CU/Lnx Sascha

-- 
Magnus Lie Hetland                "In this house we obey the laws of
http://hetland.org                 thermodynamics!"    Homer Simpson


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0