The forum converts all of the characters which are related to the problem to HTML-entities, and I am unaware of a method by which the actual files could be attached.

I think you mean, "if I use a <code> block, the forum converts all of the characters to HTML-entities. But if I use a <pre> block, it handles them correctly."

paragraph: โมดูลนี้เป็นส่วนเสริมคำจำกัดความคลาสอักขระ

pre: โมดูลนี้เป็นส่วนเสริมคำจำกัดความคลาสอักขระ
code: &#3650;&#3617;&#3604;&#3641;&#3621;&#3609;&#3637;&#3657; &#3648;&#3611;&#3655;&#3609;&#3626;&#3656;&#3623; &#3609;&#3648;&#3626;&#3619;&#3636;&#3617; &#3588;&#3635;&#3592;&#3635;&#3585;&#3633;&#3604;&#3588; &#3623;&#3634;&#3617;&#3588;&#3621; &#3634;&#3626;&#3629;&#3633;&#3585;&#3586;&#3619;&#3632;

In fact, kcott already explained the <pre> vs <code> and you even made use of it in one of your earlier posts (which is where, btw, I grabbed my test string from). Thus, I'm not sure why you're now backpedaling and claiming that you cannot figure out how to share code that includes Unicode characters in the source or output: just use the <pre> like you did earlier.


In reply to Re^6: Listing out the characters included in a character class [wide character warning] by pryrt
in thread Listing out the characters included in a character class by Polyglot

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.