I didn't say Perl doesn't support Unicode. You're putting words in my mouth. Look closely at what I said.

Yes you did:

"Perl is not yet fully unicode compatible"

Quite the opposite. Perl has the best support for Unicode of any language I've seen. (That includes C, C#, Java, JS and Python.)

Is it true or is it not true that Perl is not using utf8 encodings natively?

It is one of two encodings it uses natively yes. It's an encoding specifically created for Perl after all. Not that has any relevance on the subject.

The very fact that one must tease Perl into using utf8

No, the fact that handles are byte handles by default does not mean that Perl doesn't support Unicode.

the very fact that its developers still see security risks in its use

...means nothing at all. That has nothing to do with Perl at all. There are security issues all programmers that deal with UTF-8, UTF-16 and Unicode must be aware of. Nothing in the document you linked is specific to Perl at all.

For example, allowing https://sаfe.com/ to be displayed is such an issue, since that doesn't say "safe.com". (And that's why it shows up as https://xn--sfe-6cd.com/ in the URL bar of Firefox.)


In reply to Re^4: Converting Unicode by ikegami
in thread Converting Unicode by BernieC

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.