This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18412] New: 'locale -a' outputs encoding errors
- From: "eggert at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 13 May 2015 18:50:39 +0000
- Subject: [Bug libc/18412] New: 'locale -a' outputs encoding errors
- Auto-submitted: auto-generated
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.