Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: replacing close-single-quote with apostrophe

by LanX (Sage)
on Nov 08, 2021 at 01:17 UTC ( #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? | Other CB clients
Other Users?
Others examining the Monastery: (1)
As of 2022-08-10 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?