Eran Tromer wrote on 2003-10-08: > As you note, your algorithm is incompatible with Unicode's. > All means are valid for converting legacy text, but there's a strong > case for insisting that all newly created text must be rendered > correctly by the standard algorithm. > > This, of course, leaves open the problem of distinguishing the two types > of texts. It may be easy when importing a file since you know its type, > but what do you do with a HYPHEN-MINUS when pasting from the clipboard? > > Maybe the right strategy is to convert all U+002D HYPHEN-MINUS to either > U+2010 HYPHEN or to U+2212 MINUS SIGN upon import/paste/keypress (via > appropriate heuristics), so that HYPHEN-MINUS never occurs in the > output. Here the only breakage is for legacy/external texts for which > the heuristic fails. > I think modifying pasted text is wrong. Instead you should fix the text from which you copy, by whatever means needed.
-- Beni Cherniavsky <[EMAIL PROTECTED]> ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]