[dokuwiki] Re: UTF-8 question

Riny Heijdendael schrieb:
> Still fighting with my gateway for dokuwiki, I run into problems when
> parsing the subject of the mail..
> 
> If I send an email with UTF-8 encoded subject, and try to parse it for
> inclusion in dokuwiki, it shows up like something like:
> 
> =?UTF-8?B?0LvQvdC60L/Qs9GI0YnQljpkaXNjdXNzaW9u?=
> 
> Can anyone advise me which functions there are in the dokuwiki to get it
>  back to ÐÐÐÐÐÑÑÐ:discussion , which was it originally?

These headers are encoded after RFC 2047 ("MIME (Multipurpose Internet Mail
Extensions) Part Three: Message Header Extensions for Non-ASCII Text").

Surely, there is a PHP function to decode these? I'm no PHP programmer, so I
wouldn't know, but every decent programming language should have a library to
handle MIME emails.

Chri

Other related posts: