Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Encoding Decoding on multiple formats RFC

by kcott (Chancellor)
on Sep 21, 2017 at 09:28 UTC ( #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 (Priest) 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
Node Status?
node history
Node Type: note [id://1199813]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2017-12-18 04:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (466 votes). Check out past polls.

    Notices?