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