http://www.perlmonks.org?node_id=1199813


in reply to Re^2: Encoding Decoding on multiple formats RFC
in thread Encoding Decoding on multiple formats RFC

G'day Thanos,

"... using the <pre></pre> tags to encode the UTF-8 data."

That's quite correct to do that!

You also need to replace special characters with entities:

ForReplaceWith
HTML&&amp;
<&lt;
>&gt;
PerlMonks[&#91;
]&#93;

[The "HTML" ones are generic (i.e. not just for this site); The "PerlMonks" ones are specific to this site to prevent automatic link generation.]

These appear under the textarea when you're composing your message:

"You may need to use entities for some characters, as follows. ..."

Unfortunately, that list is no longer there when previewing, nor when editing after node creation.

— Ken

Replies are listed 'Best First'.
Re^4: Encoding Decoding on multiple formats RFC
by thanos1983 (Parson) on Sep 21, 2017 at 13:31 UTC

    Hello kcott

    Thanks for the tip, it worked perfectly.

    Best Regards, Thanos

    Seeking for Perl wisdom...on the process of learning...not there...yet!