in reply to Perl TK getOpenFile and Unicode

Well ain't this my lucky day!? I get to promote my very own module CanvasDirTree. In which I emulate Gtk2's cool animated treeview widget on a Tk canvas. You can assign callbacks to the canvas elements, so you can essentially read any directory with straight Perl code ( which gets it's unicode right). A couple of demos show how to use it.

As far as the Tk unicode problem you describe, it may have something to do with whether your system's terminals are set to display unicode? I can't swim well in unicode waters yet, I trust the system is setup correctly. :-)

You might want to look at Tk Characters or wait for unicode master graff to answer this.

PS. There is an old trick to put in your script:

$Tk::encodeFallback=1

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^2: Perl TK getOpenFile and Unicode
by Gavin (Archbishop) on Sep 25, 2010 at 08:04 UTC

    "Well ain't this my lucky day!? I get to promote my very own module "

    You'll be Rating it No 1 next!