D'oh. Now why didn't I reply to the second part?

On 1/1/2011 12:21 PM, Timo Sirainen wrote:
On Sat, 2011-01-01 at 11:35 +0100, Stephan Bosch wrote:
I think we need to change the parsing code here. Don't use
mail_get_first_header_utf8() or mail_get_headers_utf8() if you intend to
parse the value. First parse the addresses, then convert the
display-names to UTF8 if necessary. I'll change the sorting code to do
this too.

In light of my previous e-mail, I think we can suffice with not using the _utf8() functions when the address needs to be parsed. The phrase part is not used and encodings are not allowed in the actual address itself.

Regards,

Stephan



Reply via email to