On Tue, Nov 18, 2008 at 7:13 PM, Fred Mailhot <[EMAIL PROTECTED]> wrote:
> 2008/11/18 Guilherme Polo <[EMAIL PROTECTED]>:
> [snip]
>>
>> But if it is a problem with python on mac then just changing to pyqt
>> won't cut it. Or if it is a problem with python *and* tcl, then I take
>> you have no issues with unicode in pure tcl code, or what ?
>
> [copied from an earlier post of mine to this list]
>
> import Tkinter
> root = Tkinter.Tk()
> w1 = Tkinter.Button(root, text=u"\u026E", font=("Lucida Grande",24))
> w2 = Tkinter.Label(root, text=u"\u026E", font=("Lucida Grande",24))
> w1.pack()
> w2.pack
>
> The Button displays the correct character (a digraph from the
> International Phonetic Alphabet), whereas the Label displays what
> looks like a Chinese kanji character...the same problem as in 8.4.
>
> Also, I verified someone else's (good) suggestion that it might be an
> endianness issue, but it's not.
>
> My understanding was that this would be resolved with Tk8.5, but no
> dice. Still hoping this will be addressed.
>So running Tk 8.5 with python 2.6 under mac wasn't a problem for you ? This is confusing me because the thread was about this, so I was considering you were in the same boat. Anyway, just to confirm: the code you pasted now, if you convert it to tcl code and run from wish (for example) it doesn't work either right ? There are some problems in the current _tkinter wrapper, I just found one now while reading an issue in the bug tracker (http://bugs.python.org/issue1028) and there are probably others around there, so if it doesn't work while using tkinter it doesn't necessarily means it won't in tcl/tk. > Fred. > -- -- Guilherme H. Polo Goncalves _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
