[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: |
--------------------+-------------------------------------------------------
Under UTF-8 locales and with $edit_headers set, when I reply to some mail
(see attached mailbox, which contains 1 message to reply to) with an
accented character in the Subject, the character gets corrupt when I quit
the editor. This can be seen in the compose menu and when one edit the
message again (Mutt sends a file with an invalid UTF-8 sequence to the
editor).
This bug does not occur when the non-ASCII character occurs early enough
in the Subject header. I wonder whether this problem is related to header
folding.
The bug doesn't occur under ISO-8859-1 locales.
I can always reproduce it with Mutt 1.5.20-6026 under Mac OS X 10.4.11,
but not under Linux.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3346>
Mutt <http://www.mutt.org/>
The Mutt mail user agent