Re: [Evolution] us-ascii charset



On Mon, 2006-01-23 at 16:37 -0800, kme (sent by Nabble.com) wrote:
The From header of a email I've got recently is not displayed
correctly in Evolution. 
I'm seeing =?us-ascii?Q?Johan Blond=E9?= instead of Johan Blondé 
I'm using UTF-8 as display encoding. 
Is it a bug in Evolution? (Did not found it in bugzilla...) 
Or was it the sender's email client that malformed this message? 


Here are some useful headers of the mail message: 

Date: Sun, 8 Jan 2006 16:19:7 +0100 
From: =?us-ascii?Q?Johan Blond=E9?= 

this header is broken in the following ways:

1. the encoded-word contains a SPACE character which is NOT allowed by
the RFCs, because an encoded-word is supposed to be parseable as an atom
token.

2. us-ascii is 7bit, and therefor does not contain extended Latin
characters.

So... the correct encoding of said name would be:

=?iso-8859-1?q?Johan_Blond=E9?=

-- 
Jeffrey Stedfast
Evolution Hacker - Novell, Inc.
fejj ximian com  - www.novell.com




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