Bug 38363 - Use of Unicode quotes depends on LC_CTYPE rather than LC_MESSAGES
Summary: Use of Unicode quotes depends on LC_CTYPE rather than LC_MESSAGES
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: other (show other bugs)
Version: 4.4.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 01:24 UTC by Debian GCC Maintainers
Modified: 2010-05-22 17:42 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Debian GCC Maintainers 2008-12-02 01:24:39 UTC
[forwarded from http://bugs.debian.org/505950]

  Matthias

gcc uses Unicode quote marks with LC_CTYPE=en_US.UTF-8, but not with
LC_CTYPE=C.  Shouldn't that depend on LC_MESSAGES instead, not LC_CTYPE?
LC_CTYPE should only affect character classification, such as "this
character counts as uppercase".
Comment 1 jsm-csl@polyomino.org.uk 2008-12-02 01:36:30 UTC
Subject: Re:   New: Use of Unicode quotes depends on LC_CTYPE
 rather than LC_MESSAGES

On Tue, 2 Dec 2008, debian-gcc at lists dot debian dot org wrote:

> gcc uses Unicode quote marks with LC_CTYPE=en_US.UTF-8, but not with
> LC_CTYPE=C.  Shouldn't that depend on LC_MESSAGES instead, not LC_CTYPE?
> LC_CTYPE should only affect character classification, such as "this
> character counts as uppercase".

LC_CTYPE should determine the character set for messages and LC_MESSAGES 
their language.  For translated messages, gettext should automatically 
convert the messages in the .mo file to the user's terminal's character 
set as specified by LC_CTYPE (or overridden by OUTPUT_CHARSET).  For 
English messages, this is handled directly in the compiler.

Comment 2 Joseph S. Myers 2010-05-22 17:42:58 UTC
As discussed, not a bug.