Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: replacing close-single-quote with apostrophe

by LanX (Saint)
on Nov 08, 2021 at 01:17 UTC ( [id://11138562]=note: print w/replies, xml ) Need Help??


in reply to replacing close-single-quote with apostrophe

That's the utf8 encoding of the codepoint of Right Single Quotation Mark

You should better rely on proper encoding of your script and the input layer and just write s/`/'/g like choroba showed you in the second part.

Fiddling with bytes instead of characters isn't a clean approach.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-03-29 13:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found