This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/18412] New: 'locale -a' outputs encoding errors


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]