Maybe my Google searching skills are wanting (or maybe there is an easy circumvention that I am missing) but standard techniques for producing menus with arbitrary UTF8 strings do not appear to work and I cannot find references to any solutions. I am using ActivePerl Build 820. A demo of the problem I am having is:
use strict; use warnings; use utf8; use Tk; my $mw = MainWindow->new(); my $mbar = $mw ->Menu(); $mw ->configure( -menu => $mbar ); my $file = $mbar ->cascade(-label => '????'); # Thai string (substitute your own) MainLoop; 1; This results in the menu being displayed as \x{0e41}, ... Surely many others must have run into this. What is the recommended circumvention?
_______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs