From: Brian Candler <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Martin Leduc <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [sqwebmail] Encoding
Date: Tue, 8 Jun 2004 15:20:54 +0100

On Tue, Jun 08, 2004 at 09:54:30AM -0400, Martin Leduc wrote:
> this is my ./configure param.
>
> ./configure --prefix=/website/sqwebmail
>                --with-cachedir=/var/cache/sqwebmail
>                --enable-imageurl=/webmail
>                --enable-imagedir=/website/sqwebmail/images
>                --enable-cgibindir=/website/sqwebmail/cgi-bin
>                --without-authpam
>                --without-authuserdb
>                --enable-webpass=yes
>                --without-authpwd
>                --without-authshadow
>                --with-authvchkpw
>                --without-authldap
>                --enable-mimetypes=/usr/local/httpd/conf/mime.types
>                --disable-utf7-folder-encoding
>                --enable-unicode
>                --enable-dependency-tracking

OK. I have not been using i18n myself, but it's about time I had a look.
According to the INSTALL page, there is an --enable-unicode or
--enable-unicode=chset,chset,... flag

But looking at sqwebmail/configure.in I'd say you need

    --enable-unicode=yes

otherwise HAVE_SQWEBMAIL_UNICODE is not set. (If you don't set it, then the
toplevel configure sets --enable-unicode=iso0-8859-1,utf-8)

Sam: is this a bug? If so there's a one-line patch attached. But I'd be very
surprised if this hasn't been noticed before.


Aha: it looks like if you have utf7 encoding then unicode="yes" is forced.
But since you specified --disable-utf7-folder-encoding, then this has been
bypassed.

Martin, can you look in sqwebmail/config.h and see if it contains

/* #undef HAVE_SQWEBMAIL_UNICODE */

At the line 72 of this file, I have

/* Compile a unicode-aware sqwebmail */
#define HAVE_SQWEBMAIL_UNICODE 1




If so, there is a bug, and applying the attached patch should fix it; configure again and check that you get

#define HAVE_SQWEBMAIL_UNICODE 1

instead. Then see if your problem is fixed or not. Please report back so
that Sam can apply the patch if it's appropriate.

> I found something interesting.
>
> If I send Email from Outlook 2000, message display OK.
>
> If I send Email from Office 2003, message wrong encoding....

If you have these two messages in a Maildir, then perhaps you can analyse
the headers and work out what is different. Or, gzip the two messages, and
post them as attachments to this list for us to look at. (gzipping is
important so that the message is not mangled by the mailer which is
forwarding them).

Ok, tonight only because I use Office 2003 at home only, sorry :)


Regards,

Brian.
<< sqwebmail-have-unicode >>

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/




Reply via email to