Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Tk appearing in Chinese font

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


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

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...

Replies are listed 'Best First'.
Re^4: Tk appearing in Chinese font
by Courage (Parson) on Jul 18, 2005 at 16:58 UTC
    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.

Re^4: Tk appearing in Chinese font
by Anonymous Monk on Jul 18, 2005 at 16:41 UTC
    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://475772]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found