iso_8859_1 mystery/tkinter

"Martin v. Löwis" martin at v.loewis.de
Wed May 18 13:35:08 EDT 2005


phil wrote:
> These work fine on Linux
>         s.const = {}
>         s.const['DEG'] = '%c' % (0xb0)
>         s.const['DIV'] = '%c' % (0xf7)
>         s.const['ANG'] = '%c' % (0xd8)
> 
> On WinXP the symbols for division and angle work fine.
> But the symbol for degrees, a little circle, produces
> a vertical bar in Tkinter Text box or Canvas.

I don't understand what you mean by that. Do you have
the symbol for degrees in your source code (so that
the editor for the source code displays it as a little
circle)? Or do you use the numeric code?

Can you show a small program that demonstrates this
effect?

Regards,
Martin




More information about the Python-list mailing list