[dokuwiki] Re: UTF-8 email encoding

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 14 Apr 2006 13:37:54 +0200

Hi all!


> Esther Brunner wrote:
> > 
> > I use GMail in Safari because for some strange reason I can't send
> > mails to the list using my regular e-mail cient Apple Mail.
> > 
> > You we're right, my e-mails have been UTF-8 encoded up to now. I now
> > switched back to standard encoding. I hope this causes less problems
> 
> I could read your emails properly all the time with thunderbird under 
> linux.  Dont think this has anything todo with utf8, but with some
> funny  coding/encryption-problem, that is really interesting, cause
> gmail  usually sends out its mails very well and safari is a relieable
> browser  (beside the fact that it does not handle unicode in
> dropdowns)

Okay to end all the speculation what's wrong with Esther's mails:
Nothing. They were just fine, but it looks like the mailinglist
software caused a problem... let's look at the source of one of Esther's
mails (showing only relevant things):

------------------------------------------------------
Date: Mon, 10 Apr 2006 11:23:45 +0200
From: "Esther Brunner" <wikidesign@xxxxxxxxx>
To: dokuwiki@xxxxxxxxxxxxx
Subject: [dokuwiki] DokuWiki metadata handling
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

SGkgTGlzdAoKSSdtIGN1cnJlbnRseSB0cnlpbmcgdG8gaW1wbGVtZW50IGEgT0FJIHJlcG9zaXRv
cnlbMV0gZm9yIGEgRG9rdVdpa2kKcHJvamVjdCBvZiBtaW5lLiBCdXQgZ2V0dGluZyBtZXRhZGF0
YSBvdXQgb2YgYSB3aWtpIGlzIG5vdCBlYXN5IGFzCndpa2lzIGFyZSBtYWRlIGZvciBlYXN5IGVk
aXRpbmcgYnkgaHVtYW5zIHJhdGhlciB0aGFuIGVhc3kgcmVhZGluZyBieQptYWNoaW5lcyAoYXMg
ZGF0YWJhc2VzKS4gV2UgYmFzaWNhbGx5IG9ubHkgaGF2ZSB0aGUgaWQgYW5kIHRoZQpjaGFuZ2Vs
<snip>
aGVyCgpbMV0gaHR0cDovL3d3dy5vcGVuYXJjaGl2ZXMub3JnL09BSS8yLjAvb3BlbmFyY2hpdmVz
cHJvdG9jb2wuaHRtClsyXSBodHRwOi8vZHVibGluY29yZS5vcmcvCg==
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
------------------------------------------------------

As you can see, the whole mailbody is Base64 encoded, which is perfectly
okay to ensure the UTF-8 stuff goes through correctly. The problem is
caused by the signature added by the mailinglist software. It is just
appended to the mailbody, ignoring the fact that the body is Base64.

We now have a block which is partly base64 and partly plain ASCII - what
happens with such a mail depends heavyly on the receiving mail client.

Sylpheed just ignores the parts that are not valid Base64, Cone tries to
decode the not encoded part, producing garbage. Other Clients will throw
away the whole body as invalid.

So Esther's mails were fine - it seems to be the mailinglist software that
is broken (or maybe I misconfigured something). I will CC this mail to
the John Madden (the freelists admin) maybe he can fix that.

Andi
 

Other related posts:

  • » [dokuwiki] Re: UTF-8 email encoding