From: Mats B. <ma...@pr...> - 2006-11-04 15:06:08
|
I was testing my application with cyrillic characters and noted that if I set the font to Geneva (in text widgets etc.) instead of the system standard "Lucida Grande" then such characters are displayed correctly, it seems at least. All data read from network socket that has -translation utf-8. There has been prior discussions on this list concerning utf encoding but that seemed only be relevant for file names: "I was alluding to the problem that filenames coming into tcl from the OS containing non-ascii chars will be in decomposed unicode,..." But it seems a bit weird to me since the system standard font doesn't handle Cyrillic (for instance) but a font like Geneva does. If I launch wish from Terminal all Cyrillic chars seems to be printed correctly on the Terminal (but not in a tk text widget), but if I launch my app by double clicking Wish.app the Cyrillic is not printed correctly in the Tk console either. Is this only a matter of a font missing relevant glyphs or is it something else? A bit puzzled by this. /Mats |