Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Encoding Decoding on multiple formats RFC

by kcott (Archbishop)
on Sep 21, 2017 at 09:28 UTC ( [id://1199813]=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1199813]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-18 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found