Konrad Jankowski <konrad.jankowski at bluemedia.pl> writes: > BOM's should be handled at the program level. Yeah, that makes sense; libc has no way of knowing whether the start of the string you're processing is actually the start of the file. DES -- Dag-Erling Smørgrav - des at des.no