now I gained access to linux machine, tried your script but unfortunately my perlTk is 800, so no luck.

BUT I extracted unicode text, made it Tcl and now you can see all fonts are okay (at least on mandrake10), where I did not did any font setup.

See screenshot at http://vkonovalov.ru/tcltk-misc/a,tcl.jpg

here is Tk code:

pack [text .t] .t insert end " No Operator (61) \u5F85\u64CD\u4F5C\u54E1 Power Down (63) \u96FB\u6E90\u4E2D\u65B7 Contactor Repair (124) \u4FEE\u593E\u8173 Change Cleaning Disk (125) \u66F4\u63DB\u786C\u789F Change Loadboard (127) \u66F4\u63DB\u6E2C\u8A66\u677F Change LN2 (128) \u66F4\u63DB\u6DB2\u614B\u6C2E"
I don't remember though, did I or not installed Chinese support from rpmdrake...

Best regards,
Courage, the Cowardly Dog


In reply to Re^5: Chinese font problem in Perl/Tk by Courage
in thread Chinese fonts problem in Perl/Tk by shockers

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.