This is the mail archive of the
mailing list for the GCC project.
Re: quote marks [was: Status of i18n patches]
Zack Weinberg <firstname.lastname@example.org> writes:
> > 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
> > ...
> An interesting idea... although, if we go with the double-quote
> suggestion, it should be 0x201C/0x201D. Don't recent versions of
> gettext have the ability to recode messages on output?
glibc will do transliteration, translating 201C/201D with
0022. 2018/2019 transliterate to 0027. Dunno if standalone
gettext/iconv can also transliterate.
Relying on transliteration is encouraged in the Translation Project,
since it makes translations look nicer on modern software, while still
being recognizable on older software.