GNOME Bugzilla – Bug 268482
UTF8 error on mails lacking encoding.
Last modified: 2013-09-10 14:04:09 UTC
Description of Problem: Mail headers that contain norwegian letters, but lack encoding do not display properly. The text in fx. the from field gets cut off from and including the norwegian letter. The following error is shown in the console: ** (evolution:6003): WARNING **: Invalid UTF8 string passed to pango_layout_set_text()
gtkhtml displays what's fed by mailer. it doesn't use pangou layout so the warning comes from other part (etable?) it's probably not even an evo bug
this is a bug in the mail, it is invalid for headers to contain anything but 7 bit ascii characters. try attaching an example mail too, not much to test with otherwise
From mail header: From: *removed* (Jørgen *removed*) X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char F8 hex) in message header 'From' From: *removed* (J\370rgen *removed*... ^ Ok, so it seems the mails in question are not encoded correctly. It's the norwegian letters æ, ø, å which cause this in the problematic mails. Anyhow, it would be nice if it didn't cut the rest of the text behind the offending character even if it has non-encoded data. In this mail the following is shown in the from field: "J". thanks, Hogne
Sorry, I meant to paste the following from the same header also: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4i thanks, Hogne
adding i18n keyword, punting to 2.3.
haskjold: please *attach* an entire example mail by saving it to disk. you should erase any confidential data (like changing mail addresses to example.com) before. i pretty much assume that this is not an evolution bug, we'll see. it's much easier for the developers to find out whether it's an evolution bug and how to fix it. please also tell us your evolution version. setting this to NEEDINFO, please REOPEN after doing so. thanks in advance for your patience. :-) punting to 2.5.
I can no longer replicate this bug with mail with bad headers (X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data). This is with Evolution 2.4.2.1-1 in Debian Unstable.
thanks for answering, assuming that this has been fixed.