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
In reply to Re: replacing close-single-quote with apostrophe
by LanX
in thread replacing close-single-quote with apostrophe
by BernieC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |