public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18412] New: 'locale -a' outputs encoding errors
@ 2015-05-13 18:50 eggert at gnu dot org
  2015-05-14  1:38 ` [Bug libc/18412] " eggert at gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: eggert at gnu dot org @ 2015-05-13 18:50 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18412

            Bug ID: 18412
           Summary: 'locale -a' outputs encoding errors
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: eggert at gnu dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Here are the symptoms, on Fedora 21:

$ locale | grep LC_ALL
LC_ALL=en_US.UTF-8
$ locale -a | grep en_US
Binary file (standard input) matches

The problem is that 'locale -a' is attempting to output the string "bokmål",
but it does so using a Latin-1 encoding, which is an encoding error in a UTF-8
locale.  'locale -a' should always output properly-encoded text.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-28221-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed May 13 23:01:47 2015
Return-Path: <glibc-bugs-return-28221-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 50598 invoked by alias); 13 May 2015 23:01:47 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 49950 invoked by uid 55); 13 May 2015 23:01:43 -0000
From: "joseph at codesourcery dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18412] 'locale -a' outputs encoding errors
Date: Wed, 13 May 2015 23:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18412-131-BWA0rGb60y@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18412-131@http.sourceware.org/bugzilla/>
References: <bug-18412-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-05/txt/msg00086.txt.bz2
Content-length: 390

https://sourceware.org/bugzilla/show_bug.cgi?id\x18412

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
libc-alpha discussion: starts
<https://sourceware.org/ml/libc-alpha/2015-01/msg00379.html>, my comments
<https://sourceware.org/ml/libc-alpha/2015-01/msg00382.html>.

--
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-05-22 22:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-13 18:50 [Bug libc/18412] New: 'locale -a' outputs encoding errors eggert at gnu dot org
2015-05-14  1:38 ` [Bug libc/18412] " eggert at gnu dot org
2015-05-14  1:40 ` eggert at gnu dot org
2015-05-14  5:07 ` carlos at redhat dot com
2015-05-14  6:01 ` eggert at gnu dot org
2015-05-14  6:27 ` carlos at redhat dot com
2015-05-22 22:12 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).