Strange font/language issue on Solaris 10 and wish8.3



I was trying to use the default tk/wish install on Solaris 10 (it is
wish8.3) to put up some dialogs but when I do, the text in labels and
such show up in some strange font and/or language. I tried it with a
very simple wish/tk script and got the exact same results. The simple
script is just the basics:

#!/usr/sfw/bin/wish8.3
proc push_button {} {
.ent insert 0 "Hey there "
}
label .lab -text "Enter text:"
entry .ent
button .but -text "click here" -command "push_button"
pack .lab
pack .ent
pack .but

When I do this, my window label is in the correct font/language, but
the label text and the entry text is in some strange language.

My LANG environment variable is en_US.UTF-8. I've tried setting it to
en_US and C and have even unset it completely. There appears to be no
difference. The font in both the entry field as well as the labels are
wrong. I'm running the JDE (Gnome) desktop if that matters.

BTW, I've run my tk script on a few other OS instances without any
issues.

So has anyone have any ideas on how I configure this to work properly?

Thanks.
.


Quantcast