Which Linux editor has already a "smartquotes" mode? It should work similar to what Microsoft Word has done for a long time, to discourage the use of the non-directional quotation marks
U+0022 QUOTATION MARK U+0027 APOSTROPHE in favour of the directional variants U+2018 LEFT SINGLE QUOTATION MARK U+2019 RIGHT SINGLE QUOTATION MARK (preferred character to use for apostrophe) U+201C LEFT DOUBLE QUOTATION MARK U+201D RIGHT DOUBLE QUOTATION MARK Basically, whenever the character ' is inserted after a space or newline, it should be replaced by U+2018, otherwise by U+2019. Similarly, a " inserted after a space or newline should be replaced by U+201C, otherwise by U+201D. Some quoting mechanism (e.g. Ctrl-Q) should be left to enter ' and " in source code and documentation for programming languages that can't handle the directional variants yet. http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html Markus -- Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK Email: mkuhn at acm.org, WWW: <http://www.cl.cam.ac.uk/~mgk25/> -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
