I agree with those statements as well. I also agree with the person who replied years ago and pointed out that this wouldn't fix anything since node text is stored in the DB in Latin-1 and CODE tags don't have any reserved characters for escaping things so you still wouldn't be able to get non-Latin-1 characters to work in code tags, even if you modified the "form submit" to make it possible to submit utf-81 text w/ non-Latin-1 characters inside of a CODE block (and even if the database wasn't using Latin-1, then you'd still have to change the page generation in order to display non-Latin-1 characters in CODE blocks correctly).

1 Actually it is already possible to submit utf-8 to PerlMonks and some browsers already do this. It is just that some browsers choose (correctly, at this time) not to (and that PerlMonks probably still doesn't detect when that happens, in part because it would have to guess because the HTTP protocol neglected to specify a header requirement for stating the encoding used in a POST).

- tye        


In reply to Re^2: Unicode in code (pointless) by tye
in thread Unicode in code by John M. Dlugosz

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.