BernieC has asked for the wisdom of the Perl Monks concerning the following question:
This should be easy but I can't quite figure a way to do it. I have a text file which is nothing special, except that it uses close-single-quotes {as it should, actually :o)} as apostrophes. I've examined the file and what it has is the sequence {hex} e2 80 99 everyplace a ' should go. It should be easy but I can't sort out how to write a s/???/'/g that'd work.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: replacing close-single-quote with apostrophe
by choroba (Cardinal) on Nov 07, 2021 at 21:28 UTC | |
by hippo (Bishop) on Nov 08, 2021 at 10:34 UTC | |
by ikegami (Patriarch) on Nov 08, 2021 at 16:52 UTC | |
by BernieC (Pilgrim) on Nov 07, 2021 at 22:59 UTC | |
Re: replacing close-single-quote with apostrophe
by LanX (Saint) on Nov 08, 2021 at 01:17 UTC | |
Re: replacing close-single-quote with apostrophe
by BillKSmith (Monsignor) on Nov 08, 2021 at 15:34 UTC |
Back to
Seekers of Perl Wisdom