ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcl-mac
tcl-mac
[MACTCL] unicode/tkinter difficulties on macosx
by Vincent Rioux other posts by this author
Oct 18 2005 2:53AM messages near this date
RE: [MACTCL] Re: unicode/tkinter difficulties on macosx | [MACTCL] Launch Services wrapper--which part of API?
Dear list,
sorry if you find this subject slightly out of the scope of this list.

Well, I have hard time finding documentation on how to display correctly 
unicode characters with a basic Tkinter widget on Macosx.

from Tkinter import *
root = Tk()
w = Label(root, text=u'\u0254')
w.pack()
root.mainloop()

This should display an 'open o' of the IPA.
It happens to work with python from FINK (hence using x11) but I just 
can't get it to work on pythonw2.4/tcl-tk acqua. It will only display an 
empty square. I also noticed that i could display characters up to \xFF 
but it seems that i don't manage to access to characters starting from 
/x0100...

any ideas, redirections or solutions are welcome
by advance many thanks,
vincent



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Tcl-mac mailing list
Tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved