Pavel Stranak wrote: > > On 18.5.2006, at 17:02, Konovalov, Vadim Vladimirovich (Vadim)** CTR > ** wrote: > >>> >>> One (very small) thing remains strange though: Unicode (utf8) does >>> not work in Labels (incl. LabelFrame), Entry and Text, but >>> works fine >>> in Title and Button. See attached screenshot. >> >> >> I suspect this is encoding. What encoding is your script in? May be >> all you need is to "use utf8;"? > > Both script and the file read into Text widget are in UTF-8. > > It is some local problem, maybe specific to mac installation of Tcl. > On my Windows (ActiveState Perl + ActiveTcl) everything is perfect. > On my Fedora machine too (I have installed ActiveTcl locally (I am not > an admin) and set TCLLIBPATH to get some missing widgets).
To narrow down the problem, it could be reasonable to reproduce the problem within 'wish' from Tcl/Tk for example within 'wish' do: label .l -text "some unicodish here: \u0434\u0435" pack .l then smoothly move to Tcl::Tk: my $mw = tkinit; my $int = $mw->interp; $int->Eval(' label .l -text "some unicodish here: \u0434\u0435" pack .l '); $int->MainLoop;