Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Tk appearing in Chinese font

by socketdave (Curate)
on Jul 18, 2005 at 13:27 UTC ( [id://475750]=note: print w/replies, xml ) Need Help??


in reply to Tk appearing in Chinese font

Have a look at this...

http://perl.org.il/pipermail/perl/2004-November/006320.html

Replies are listed 'Best First'.
Re^2: Tk appearing in Chinese font
by Anonymous Monk on Jul 18, 2005 at 13:40 UTC
    Dave - I found that suggestion using Google but the fix didn't work for me...

    Any ideas?

      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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://475750]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-20 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found