Re: Questions about MIME type detection
- From: Alexander Larsson <alexl redhat com>
- To: Redoute <redoute tortenboxer de>
- Cc: gnome-vfs-list gnome org
- Subject: Re: Questions about MIME type detection
- Date: Wed, 23 Aug 2006 13:41:57 +0200
On Tue, 2006-08-22 at 18:15 +0200, Redoute wrote:
> 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!
Maybe we should skip that part if the locale encoding is utf8.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a fiendish misogynist househusband on his last day in the job. She's a
foxy bisexual bodyguard from Mars. They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]