It is widely known that Perl supports Unicode starting from version 5.6.0 at deep core C level, and this support is currently imrpoving and improving.

This is good and really helps in everyday programs.

What currently bothers me is lack of Unicode in perl's Tk extension.
I know that perl-Tk supports Unicode starting from version 804.024, but its shape is not good enough to use. It has a lot of known problems, and because of this Activestate's build of perl-5.8.0 contains elder Tk that does not understands Unicode.

My thought on this matter is simple:
Tk is built into Perl too tihtly and this makes newer version of Tk harder to embed.
Another drawback of such tight Perl and Tk incorporation is inability to use pure-tcl widgets

Look how Tk support is built into Python and Ruby: both just use externally installed Tcl-Tk and have appropriate support modules.

I know there exists Inline::Tcl module, but this module has other set of problems, and also it does not provide good compatibility of Perl's and Tcl's strings.

Okay, I've described a core of a problem, now how we should solve it.

perl and Tk should be integrated in slightly a different way,
there should be some more distance between Perl and Tk! Like this was done in Python and Ruby.

Implementation of such idea should not be very hard, as long as there exist some examples.
But to really implement this there should be some efforts spent.
Personally, I can spent my own efforts on this, but my efforts are weak and tiny.

Are there exist brave men here that could share their thoughts on this matter?
May be they even are able to spend their efforts?
Please tell me what do you think.

I hope this works....
Courage, the Cowardly Dog.


In reply to Perl, Unicode and Tk -- they should be together! by Courage

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.