As far as I can tell, GD::Graph itself doesn't support Unicode; however, it appears that there is some limited support for Unicode in GD---but it's experimental. To quote the author:

"The interaction between Perl, Unicode, and libgd is not clear to me, and you should experiment a bit if you want to use it."

He was referring to the stringFT() method to load and render Truetype fonts. Specifically, the optional "charmap" hashkey. It can have a Unicode value. You can find more info on it in the GD docs under "Character and String Drawing". See:

GD


In reply to Re: GD::Graph and Unicode by Khen1950fx
in thread GD::Graph and Unicode by emav

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.