Re: [Mutt] #3346: non-ASCII character in Subject not correctly handled with $edit_headers under UTF-8 locales
#3346: non-ASCII character in Subject not correctly handled with $edit_headers
under UTF-8 locales
--------------------+-------------------------------------------------------
Reporter: vinc17 | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: mutt | Version:
Keywords: |
--------------------+-------------------------------------------------------
Comment(by vinc17):
This bug still occurs. It can also be reproduced by typing in a shell
under UTF-8 locales:
{{{
mail -F /dev/null -e 'set edit_headers' -s '123456789 123456789 123456789
123456789 123456789 123456789 foo à 123456' a@xxx
}}}
then [Return] [Return], so that the editor is started. Then type some text
in the editor, and quit the editor. The Compose menu shows:
{{{
Subject: 123456789 123456789 123456789 123456789 123456789 123456789 foo
1234
}}}
Then type 'e' to edit the message. One gets with Emacs:
{{{
Subject: 123456789 123456789 123456789 123456789 123456789 123456789 foo
\303
123456
}}}
showing that the file contains an invalid UTF-8 sequence.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3346#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent