From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26948 invoked by alias); 29 Feb 2012 05:55:09 -0000 Received: (qmail 26940 invoked by uid 22791); 29 Feb 2012 05:55:07 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Feb 2012 05:54:56 +0000 From: "sdrake at xnet dot co.nz" To: glibc-bugs@sources.redhat.com Subject: [Bug libc/13757] mbstowcs(3) unable to handle 8bit characters. Date: Wed, 29 Feb 2012 05:55: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sdrake at xnet dot co.nz X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00545.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13757 --- Comment #4 from Steven Drake 2012-02-29 05:54:36 UTC --- (In reply to comment #1) > You need to use a locale that defines a meaning to this byte. The default > (ASCII) locale doesn't. Thats wrong, 'locale charmap' gives 'ANSI_X3.4-1968' and there lies the problem, the charmap for the 'C' locale should probable be ISO-8896-1. To be more accurate it should be the charmap that is used by system calls (e.g. readdir and readlink). -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.