
On Fri, January 27, 2012 12:57 pm, don kretz wrote:
How does it handle the other left one when they come in pairs?
They should never come in pairs if one has managed to convince PG submitters to follow the rule of encoding quotes as quotes and apostrophes as apostrophes. (Note, an apostrophe is an apostrophe, not the number 27. 27 is the number used by some systems to represent apostrophes, but it represents only an encoding, not a concept). Or is there some situation in which apostrophes are paired? And if so, wouldn't they both be encoded as apostrophes?
On Fri, Jan 27, 2012 at 10:01 AM, James Adcock <jimad@msn.com> wrote:
It is not ambiguous and a short look into the unicode standard would tell you that right curly quote is the preferred glyph for apostrophe.
If you have managed to convince PG submitters to actually follow this preference, then you have accomplished something. If not, you are simply automagically compounding errors.
"Apostrophe," ASCII U+0027, a neutral, highly overloaded, and ambiguous encoding which has been used in encoding a wide variety of meanings since before I was born -- and I wasn't born yesterday -- and which could mean a lot of things in a submitted text.
Right Single Quotation Mark, UNICODE U+2019, an unambiguous encoding which can only mean right curly single quotation mark.
If indeed, as you seem to be suggesting, that you are "automagically" changing U+0027 to U+2019, then all you have accomplished is implementing yet-another naive algorithm for (incorrectly) changing straights to curlies.