On Tue, Jul 10, 2007 at 14:54:45 +0200, Marc Haber wrote:
> On Tue, Jul 10, 2007 at 02:02:21PM +0200, Håvard Moen wrote:
> > For some reason the regex does not seem to like two a's following each 
> > other,
> > trying to use the hostname haavard.name and machine name petrus.haavard.name
> > using version 4.67-5 gives me:
> > /usr/sbin/update-exim4.conf: non-ascii value haavard.name read from
> > /etc/exim4/update-exim4.conf.conf, sanitizing to h_vard.name
> > /usr/sbin/update-exim4.conf: non-ascii value petrus.haavard.name read from
> > /etc/exim4/update-exim4.conf.conf, sanitizing to petrus.h_vard.name
> 
> I suspect some locale weirdness. Can you please post the output of the
> locale variable on your system?
> 
LANG=nb_NO.UTF-8
LANGUAGE=en_US:en_GB:en
LC_CTYPE="nb_NO.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME="nb_NO.UTF-8"
LC_COLLATE="nb_NO.UTF-8"
LC_MONETARY="nb_NO.UTF-8"
LC_MESSAGES=en_US.UTF-8
LC_PAPER="nb_NO.UTF-8"
LC_NAME="nb_NO.UTF-8"
LC_ADDRESS="nb_NO.UTF-8"
LC_TELEPHONE="nb_NO.UTF-8"
LC_MEASUREMENT="nb_NO.UTF-8"
LC_IDENTIFICATION="nb_NO.UTF-8"
LC_ALL=

> Does it work when you manually set and export LANG=C before invoking
> update-exim4.conf?
> 

It does work when setting LANG or LC_ALL to C, so it seems to be something
about the locale. I know that aa is an old form to write å, but it is strange
that sed should convert aa into å.

-- 
Håvard
Laws are like sausages, it is better not to see them being made.
    -- Bismarck

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to