Jim Smith:
> Hi all,
>
> I've enabled subject logging in my header checks so that I can see it in my
> mail logs, i.e-
>
> header_checks.pcre contains /^Subject:/ WARN
> Logging looks like - Apr 6 00:05:44 myserver.com postfix/cleanup[20484]: [ID
> 197553 mail.info] 4DC4E82: warning: header Subject: =?utf-8?B?UX..... (UTF-8
> stuff in here)
>
> How can I make it so that Subject: =?utf-8?B?UX..... is displayed correctly
> in it's native language? (in this case it's Chinese but it could be another
> language)
It is technically not possible to store non-ASCII content in
"unencoded" form, without also storing information about the
character set of that content. Otherwise, you'd be rendering
text with the wrong alphabet.
So, we would be just inventing another way of doing what ?utf-8?badf..?
are doing. Instead of re-inventing the wheel, let's just stick with
the existing ones.
Wietse