[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Jessie and Bugzilla mails problem with utf-8



On Tue, 30 Jun 2015 11:14:25 +0200, <tomas@tuxteam.de> <tomas@tuxteam.de> wrote:
>
> Hm. Let me try to understand: bugzilla is sending mails, those mails say
> in the header that they're UTF-8 (e.g. something along the lines of
> "Content-Type: text/plain; charset=UTF-8"), and they are single-byte
> encoded?
>
> Can you show us one of those mails (headers and all)?
>

	I'm now  checking those headers myself. In mail header there is
Content-Type: multipart/alternative; boundary="1434706059.5C600.4625"; charset="UTF-8"

But in the mime part header there is
Content-Type: text/plain

and accented characters are encoded in 8 bit.

But in Wheezy there was 
Content-Type: text/plain; charset="UTF-8"

and accended characters were UTF-8 encoded.

But at least Thunderbird treats both messages as UTF-8 messages, probably 
because it has UTF-8 in e-mail header. 

Bugzilla itself did not change, so it's probably something about how it
uses Email-MIME module.

> My guess would be that Bugzilla is outputting the 8 bit encoding.
> Perhaps whoever is starting the process (init, systemd) is ignoring
> /etc/default/locale?
>

	I did try using SetEnv LANG en_US.UTF-8 in Apache configuration
for Bugzilla directory.

-- 
Virgo Pärna 
virgo.parna@mail.ee


Reply to: