Re: [evolution-patches] Fix address field display.



On Tue, 2004-01-06 at 14:02 -0500, Jeffrey Stedfast wrote:
> John "D." Grahame <jdg company com>
> 
> is not a pretty way to display it, but is one of the ways to encode the
> name part of the name-addr. We want that displayed as:
> 
> John D. Grahame <jdg company com>

I disagree. If John wanted to put his middle initial in quotes that is
his perogative, and we have no business removing them. It's free-form
text and we should display what we were given.

In _particular_, in the case of his name appearing as 

	"Grahame, John" <jdg company com>

we must _not_ render that as

	Grahame, John <jdg company com>

... since that rendering would be very wrong, as it means something
entirely different to the original.

> but more importantly, we want to rfc2047 decode the names too.

Isn't this what camel_header_decode_string() does for us?

-- 
dwmw2




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