Re: Questions about MIME type detection



Alexander Larsson wrote:

>> - the second part of _gnome_vfs_sniff_buffer_looks_like_text is compiled 
>>   conditionally:
>>   #if defined(HAVE_WCTYPE_H) && defined (HAVE_MBRTOWC)
>>   - WC = wide char? MB = multibyte? Which character encoding/s are covered by 
>>     this part? Is it a CJK-Issue? Is this part included in an ordinary 
>>     european Ubuntu system?
> 
> This part tests if the test is valid in the current locales encoding.

So with LC_ALL="de_DE.UTF-8" the file will again be checked against
UTF-8? I didn't expect that!

Redoute



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]