From: Eli Zaretskii <eliz@gnu.org>
To: "Łukasz Stelmach" <steelman@post.pl>
Cc: 26315@debbugs.gnu.org
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 [thread overview]
Message-ID: <83mvc25wva.fsf@gnu.org> (raw)
In-Reply-To: <8737duy3pv.fsf%steelman@post.pl> (message from Łukasz Stelmach on Thu, 30 Mar 2017 21:17:00 +0200)
> From: Łukasz Stelmach <steelman@post.pl>
> Date: Thu, 30 Mar 2017 21:17:00 +0200
>
> Running the following lisp code:
>
> (mail-header-parse-address "Łukasz Stelmach <steelman@post.pl>")
>
> yields the error message:
>
> Unknown symbol: Ł
>
> and the invalid result:
>
> ("steelman@post.pl" . "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.
next prev parent reply other threads:[~2017-03-30 20:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-30 19:17 bug#26315: 24.4; mail-header-parse-addres/ietf-drums-parse-address fails on UTF-8 string Łukasz Stelmach
2017-03-30 20:32 ` Eli Zaretskii [this message]
2017-03-31 6:55 ` Łukasz Stelmach
2017-03-31 8:00 ` Eli Zaretskii
2017-03-31 8:25 ` Łukasz Stelmach
2017-03-31 8:59 ` Eli Zaretskii
2017-03-31 8:29 ` Lars Ingebrigtsen
2017-03-31 8:56 ` Stephen Berman
2017-03-31 9:33 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83mvc25wva.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=26315@debbugs.gnu.org \
--cc=steelman@post.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.