This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
quote marks [was: Status of i18n patches]
- From: Per Bothner <per at bothner dot com>
- To: "Martin v. Loewis" <martin at v dot loewis dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 14 Oct 2002 09:14:20 -0700
- Subject: quote marks [was: Status of i18n patches]
- References: <200210131822.g9DIMIm7001524@mira.informatik.hu-berlin.de>
While we're at it, perhaps it is time to fix things like:
`%s' to '%s' - i.e. get rid of uses of 0x60 GRAVE ACCENT as
"begin single quote". This no longer works with modern
Unicode-compatible fonts, since it is not symmetric with
0x27 APROSTROPHE (aks APOSTROPHE-QUOTE).
Unicode recommends using 0x2018 LEFT SINGLE QUOTATION MARK
and 0x2019 RIGHT SINGLE QUOTATION MARK, but that may be too
radical a choice, for now.
One option: we could have the various error routines post-process the
error message before printing. Depending on an option or the locale
it could either emit a pair of 0x27 or a 0x2018/0x2019 pair ...
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/