in reply to Re: Perl to convert US to UK punctuation/spelling?
in thread Perl to convert US to UK punctuation/spelling?

...you're just looking to swap balanced “ … ” with balanced ‘ … ’ and vice versa...

True... but that doesn't necessarily display correctly for all of us. What I see (FF 2.0.0.14, W2k) is two straight, slanted, end-double-quotes separated by ... and two straight, slanted, single quotes, similarly separated. (The fact that they're straight, not curly quotes is NOT relevant; what is on point is that all slant in the same direction.)

So why did I bother to mention this?

Well, I didn't discover that until I cut'n'pasted from Your_Mother's node (which appears to have been written with character entities, "“ … ” with balanced ‘ … ’"), with the intention of pointing out that (what I saw) was not what OP was asking for. Hence, this, FWIW, for others whose display is not what Your_Mother intended.

Replies are listed 'Best First'.
Re^3: Perl to convert US to UK punctuation/spelling?
by Your Mother (Archbishop) on Jun 16, 2008 at 03:02 UTC

    utf8 doesn't work on PM. :) This has no bearing on whether it works in another program.

      True, again, but that has considerable bearing on whether readers see what you intended.

      At least one reader, /me, saw something quite different.