I understand that I'm not answering your question (which is answered above), but I have an explanation for this behaviour:
The first character is always a Greek Gamma, the second is always a o-umlaut or o-diaeresis (or maybe it's a Greek Omicron?). The third character encodes the card's suit: u-acute = hearts, a-underscore(?) = diamonds, capital Enya = clubs, a-acute = spades.
This happens when UTF-8-encoded bytes get interpreted as CP437-encoded bytes:
$ echo '♣ ♦ ♥ ♠' | iconv -f cp437 # my system is UTF-8
ΓÖú ΓÖª ΓÖÑ ΓÖá
The author of the code assumed that your command line would understand UTF-8, but you are probably running the code in Windows cmd.exe, which doesn't. According to Wikipedia, you may still see those characters if you print qq{\x{03}\x{04}\x{05}\x{06}}, although they are not formally defined as part of the code page.

In reply to Re: Freecell Dealer by Anonymous Monk
in thread Freecell Dealer by hennesse

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.