hi there,

I have a problem with a small application I've written. Basicly it's a variant of shoutbox-client but written for my site. But it seams as if any Perl/Tk-application I develop I run into this problem, so here it is:

When I've written my Tk-application I run it on my dev-computer and it works just like it should. But if I use pp and then transfer the application to another win32-machine, then there's something wrong with fonts/encoding since all chars ends up looking like squares. I've taken two screenshots, the first one is the way it should look and the second way is the way it looks on the other computer.

Now I've only been able to test it on three machines. My machine which run a swedish version of winxp and two other machines which run an english version. The both english machines does display the text in the fancy square way.

To eliminate the possibilities of dirt behind the buttons I've also created the "Hello World" example from O'Reillys "Mastering Perl/Tk" and again I have the same problem.

Any clues or ideas? I've searched pm for "tk font problem" and "tk encoding problem" and such.

Screenshot 1 - Working like it should...
Screenshot 2 - NOT working like it should

TIA!

/fluff


In reply to Perk/Tk font/encoding problems? by fluff

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.