bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#26315: 24.4; mail-header-parse-addres/ietf-drums-parse-address fails


From: Eli Zaretskii
Subject: bug#26315: 24.4; mail-header-parse-addres/ietf-drums-parse-address fails on UTF-8 string
Date: Thu, 30 Mar 2017 23:32:25 +0300

> From: Łukasz Stelmach <address@hidden>
> Date: Thu, 30 Mar 2017 21:17:00 +0200
> 
> Running the following lisp code:
> 
>     (mail-header-parse-address "Łukasz Stelmach <address@hidden>")
> 
> yields the error message:
> 
>     Unknown symbol: Ł
> 
> and the invalid result:
> 
>     ("address@hidden" . "ukasz Stelmach")
> 
> As far as I can tell this happens if the first character of the address
> string is an UTF-8 (non-ascii?) one.

Why are you using that function?  It assumes the non-ASCII characters
were rfc2047-encoded.

I suggest to use mail-extract-address-components instead.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]