bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quote characters in stds


From: Karl Berry
Subject: Re: quote characters in stds
Date: Tue, 7 Jun 2005 11:59:38 -0400

Hi Simon,

Thanks for the note.

    Are they mutual exclusive, or should they
    be used in combination?  Those things aren't clear to me.  

They aren't clear to me either, but I *think* they can be used in
combination.  That is, if you use the gnulib quote module or equivalent,
then you could set your locale to address@hidden (somehow ...), and get the
UTF-8 quotes, transliterated to ' or " in some cases.  (I'm getting this
from the po file, appended; I've never actually used address@hidden)

I think the appropriate place to discuss the details would be in the
Gnulib and/or Gettext documentation, not the coding standards, although
perhaps they should be mentioned.  (Something like: "Independent of
gnulib, you can use the address@hidden catalog provided by gettext to achieve a
similar result.  See <blah>.")

I trust Bruno will fill us in.

karl


# English translations for GNU gettext-runtime package.
# Copyright (C) 2005 Free Software Foundation, Inc.
# This file is distributed under the same license as the GNU gettext-runtime 
package.
# Automatically generated, 2005.
#
# All this catalog "translates" are quotation characters.
# The msgids must be ASCII and therefore cannot contain real quotation
# characters, only substitutes like grave accent (0x60), apostrophe (0x27)
# and double quote (0x22). These substitutes look strange; see
# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
#
# This catalog translates grave accent (0x60) and apostrophe (0x27) to
# left single quotation mark (U+2018) and right single quotation mark (U+2019).
# It also translates pairs of apostrophe (0x27) to
# left single quotation mark (U+2018) and right single quotation mark (U+2019)
# and pairs of quotation mark (0x22) to
# left double quotation mark (U+201C) and right double quotation mark (U+201D).
#
# When output to an UTF-8 terminal, the quotation characters appear perfectly.
# When output to an ISO-8859-1 terminal, the single quotation marks are
# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to
# grave/acute accent (by libiconv), and the double quotation marks are
# transliterated to 0x22.
# When output to an ASCII terminal, the single quotation marks are
# transliterated to apostrophes, and the double quotation marks are
# transliterated to 0x22.
#




reply via email to

[Prev in Thread] Current Thread [Next in Thread]