in reply to Re^6: Chinese font problem in Perl/Tk
in thread Chinese fonts problem in Perl/Tk

Well, Activestate's perl version 5.8.6 behaves perfectly on linux (mandrake 10.0). See screenshot http://vkonovalov.ru/tcltk-misc/ss.jpg

Best regards,
Courage, the Cowardly Dog

Replies are listed 'Best First'.
Re^8: Chinese font problem in Perl/Tk
by shockers (Acolyte) on Jan 07, 2005 at 21:17 UTC
    Hmm ... that's both encouraging and disheartening.

    Encouraging that this may be a localized (phantom?) problem.

    Disheartening in that my application's going on a couple thousand Redhat Linux and Solaris boxes in different locales and I'd hate to have to tell the SA's they've got a problem.

    Still, I can't believe only the Solaris 2.6, Solaris 8, and Linux boxes I'm working on have the same problem.

    Guess I can try ActivePerl 5.8.6 instead of 5.8.4.

    Thanks for checking, Courage.
      there could be some bugs fixed afterwards...

      perlTk bugs are harder to fix than with perl+Tcl/Tk (my own experience)

      Best regards,
      Courage, the Cowardly Dog

Re^8: Chinese font problem in Perl/Tk
by shockers (Acolyte) on Jan 07, 2005 at 23:14 UTC
    No-go with ActivePerl 5.8.6 on Redhat Linux, Solaris 8, nor Solaris 2.6 for me.

    Same as with 5.8.4, some characters displayed codes instead of the character.

    "uname -srv" for Redhat Linux: Linux 2.4.18-24.7.x_3.5G #1 Mon Jul 26 13:49:55 CDT 2004
    "uname -srv" for Solaris 8: SunOS 5.8 Generic_108528-14
    "uname -srv" for Solaris 6: SunOS 5.6 Generic_105181-33
      Hmmm.

      I can't reproduce.
      But I can beleive you fall to some kind of configuration problems... may be your OS installations lack some internationalizatio(18)n setting? something with underlying C library (as usual, many perl bugs refer to underlying C lib)

      as zentara said you need to post it as bug report, I beleive to bug tracking system. PerlTk mailing lists also wait for your posting :)

      Once again, try running my code of pure-Tk (under "wish") and give me a screenshot on your system(s)...
      We should start digging from here

      In case putting screenshots is pain for you, I can provide you with proper place to put.

      Best regards,
      Courage, the Cowardly Dog

        Thanks for all your time, Courage.

        A friend of mine in Singapore tried my script on a Solaris 8 box and reported seeing the same problem.

        What OS's have you been able to try on?

        I got your Tk script to run on Redhat Linux (Linux 2.4.18-24.7.x_3.5G #1 Mon Jul 26 13:49:55 CDT 2004) and similar problem -- three of the Chinese characters appeared as \uHHHH codes. Where can I put a screenshot? In the meantime, here's screenshot in my spot.

        Yes, I'll get this issue posted -- probably from home so I can use my handle rather than the office id.