Subject: Re: wc: filename: invalid byte sequence
To: Thomas Klausner <wiz@NetBSD.org>
From: Iain Hibbert <plunky@rya-online.net>
List: tech-userlevel
Date: 08/26/2007 09:21:01
On Sat, 25 Aug 2007, Thomas Klausner wrote:

> On the attached file, wc(1) on 4.99.30/amd64 reports "invalid byte
> sequence" quite often.

perhaps you checked, but on 4.99.25/i386 it does not report that:

galant: {1} wc test.mp3
       1       7    2048 test.mp3

so, it would seem that mbrtowc() is at fault somehow..?

iain