Re: smart quote algorithm


Subject: Re: smart quote algorithm
From: WJCarpenter (bill-abisource@carpenter.ORG)
Date: Fri Jul 21 2000 - 00:01:19 CDT


koh> We can probably use all characters defined as 'Punctuation' in
koh> the Unicode standard. These are marked as 'Po', e.g.:

koh> 0021;EXCLAMATION MARK;Po;0;ON;;;;;N;;;;;

Too bad there is no UT_UCS_ispunct() and friends that we can
transplant into Abi. The idea of using the character description
files from <http://www.unicode.org> has a pretty steep overhead,
though that is really the only way to get it exactly right.

koh> | ALPHA Alphabetic characters in the C isalpha() sense, but there are

koh> Almost 50,000 in Unicode ...

Yeah ... my kingdom for a correct UT_UCS_isalpha() ... :-)

koh> For minutes and feet, U+2032 should really be used (yes, nobody
koh> (will) use them (if AbiWord doesn't make them easy to
koh> use/insert!)).

Nobody will use them even if they are easy to insert. Almost
everybody, especially the church secretary, types into a word
processor with visuals in mind rather than structure. As long as the
thing looks like what they expect, they're happy with overloading
glyphs.

koh> Well, you can turn of smart quotes. In word, you can use 'Undo'
koh> to undo conversion of a single quote.

I wasn't aware of that. Since the smart quote conversion was almost
certainly going to have change records in Abi, this should work there,
too.

-- 
bill@carpenter.ORG (WJCarpenter)    PGP 0x91865119
38 95 1B 69 C9 C6 3D 25    73 46 32 04 69 D6 ED F3



This archive was generated by hypermail 2b25 : Fri Jul 21 2000 - 00:30:29 CDT