On Tue, Feb 22, 2005 at 09:31:11PM +0100, cobaco (aka Bart Cornelis) wrote: > does 'iconv -f <some-encoding> -t <some-encoding>' always work for detecting > if something is in <some-encoding> or does this only work for utf-8?
iconv can not detect the encoding some file is in. the above test works by failing on illegal utf-8 byte streams. because latin* encodings use all 256 bytes for chars, every possible bytestream is leagal and it will not fail for any latin* encoding. hence the test will not work. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

