Re: mutt/2595: mutt doesn't accept utf8 configuration files
The following reply was made to PR mutt/2595; it has been noted by GNATS.
From: Rocco Rutte <pdmef@xxxxxxx>
To: bug-any@xxxxxxxxxxxxx
Cc:
Subject: Re: mutt/2595: mutt doesn't accept utf8 configuration files
starting with EF BB BF
Date: Wed, 6 Dec 2006 12:28:53 +0000
Hi,
* getreu@xxxxxx [06-12-06 09:58:27 +0100] wrote:
>since vers approx 1.4 utf8 coded configuration files are allowed in order to
>use utf8 coded strings.
>This works fine.
>But today's editors add the sequence EF BB BF at the beginning of the file
>which normally should be ignored. Mutt exits instead with a fatal error
>message.
If you ask me, this is not a mutt bug but a bug of those editors since
that magic sequence will be considered binary data by almost any tool
reading the input.
I only saw pieces of "software" on Windows doing that so that I think
there it may be some sort of library routine being evil.
Of couse, mutt could be relatively easy made to ignore these few bytes
and adjust $config_charset internally... but it's not a mutt bug I'd
say.
bye, Rocco
--
:wq!