From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <25526834e4974523e25c09565df13029@brasstown.quanstro.net> References: <25526834e4974523e25c09565df13029@brasstown.quanstro.net> Date: Mon, 19 Oct 2009 14:49:07 +0100 Message-ID: From: roger peppe To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] utf-8 text files from httpd Topicbox-Message-UUID: 8a8ab7f0-ead5-11e9-9d60-3106f5b1d025 there's another problem with file -m that i've been bitten by before: it ignores any stuff after the first 6000 bytes. so if you've got a mostly-ascii file with some utf-8 characters 8K in, then it won't be picked up. i think file -m should read the whole file, but that's just IMHO.