#3352: mutt_yesorno() renders non-ascii strings incorrectly
-----------------------------+----------------------
Reporter: ghen | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: user interface | Version: 1.5.20
Resolution: | Keywords:
-----------------------------+----------------------
Old description:
> Mutt incorrectly decodes IMAP modified-UTF-7 mailbox names in the delete
> mailbox confirmation dialogue. I can create an IMAP mailbox "tést" and
> it is displayed correctly in the browser view, but when I delete it by
> pressing "d" I get:
>
> Really delete mailbox "tést"? ([no]/yes):
>
> ie. the UTF-7 is decoded into UTF-8 but displayed as if it where
> ISO-8859-1.
New description:
Mutt incorrectly decodes IMAP modified-UTF-7 mailbox names in the delete
mailbox confirmation dialogue. I can create an IMAP mailbox "tést" and it
is displayed correctly in the browser view, but when I delete it by
pressing "d" I get:
Really delete mailbox "tést"? ([no]/yes):
ie. the UTF-7 is decoded into UTF-8 but displayed as if it where
ISO-8859-1.
--
Comment (by me):
I can only guess that bsd curses printw() doesn't/didn't handle utf-8
properly, because the only difference I see is that mutt_message() uses
addstr() to ultimately display on the screen.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3352#comment:8>
Mutt <http://www.mutt.org/>
The Mutt mail user agent