in reply to Re: Tk appearing in Chinese font
in thread Tk appearing in Chinese font

Dave - I found that suggestion using Google but the fix didn't work for me...

Any ideas?

Replies are listed 'Best First'.
Re^3: Tk appearing in Chinese font
by socketdave (Curate) on Jul 18, 2005 at 14:13 UTC
    I have a suspicion the post we both found is on the right track... It feels like maybe the encoding is being set by perl, and when perl isn't available the error that is returned is being interpreted as Chinese. I wonder if there is a way to specify a specific encoding for Tk...
      You don't specify encoding in Tk: it used Unicode, and if you need another encoding you just re-encode (on the fly) using Encode module or some such...

      But OP should give more details on exact problem, show your code. There should be no problems with chinese fonts...

      Generally - app packers could forget adding to their archives some files which they do not recognize as Perl modules.

      I'm a bit stuck on this... I just went through the Mastering Tk book and I couldn't find anything about languages, localisation, etc.

      The whole app appears in Chinese, including the title text on the main window.. It's fine when I run the same exe on my machine...

      Any ideas?