[Mutt] #3033: text_enriched_handler and UTF-8 (and charsets as a whole)
#3033: text_enriched_handler and UTF-8 (and charsets as a whole)
This handler treats each byte as a single character and thus incorrectly
outputs for example bold letters in case UTF-8 is used for display. For
character U+00C0 (LATIN CAPITAL LETTER A WITH GRAVE) and the bold
attribute, it outputs "\303\b\303\200\b\200" instead of
"\303\200\b\303\200".
Mutt's way of dealing with character sets seems completely broken anyway.
It should treat all characters as wchar_t internally and convert them only
on input/output. Besides, instead of specifying the displayed charset in
the configuration file, shouldn't it rather rely on locale settings?
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3033>