what makes so hard to implement real unicode pragma?

Bear in mind that many people are not ready (or don't need) to pursue the use of unicode; and many of these people are dependent on Perl behaving a particular way with regard to handling i/o that is not strictly limited to ASCII characters.

These people would be severely and negatively surprised if they discovered that by installing the next version of Perl, all of their existing scripts would need to be modified in order to preserve their original behaviors with regard to file i/o.

(That actually happened once, with the introduction of Perl 5.8.0 on RedHat Linux: the particular RedHat release used utf-8 locale settings for the "default" shell environment, and that version of Perl used the locale settings in order to decide what the default i/o layer should be. Mayhem ensued because scripts that had worked previously were suddenly creating garbage. As a result, the Perl 5.8.1 release did not rely directly on locale settings for its default i/o layer selection.)


In reply to Re: Pragma to handle unicode characters by graff
in thread Pragma to handle unicode characters by wanradt

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.