]> granicus.if.org Git - neomutt/commit
This patch removes at least some of the horrible utf-8 kluges in
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 30 Mar 1999 23:50:33 +0000 (23:50 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 30 Mar 1999 23:50:33 +0000 (23:50 +0000)
commitcf67116ac971bcd0ea652c96be9b842780b8b289
tree472eb9f8f428af3c73f39c6e63ea1cebad36facd
parentb4b530bfaf60ea6114784f199118aaa4783f0d20
This patch removes at least some of the horrible utf-8 kluges in
charset.c.  The new DECODER framework is currently only used in
handler.c, and there in a horribly inefficient manner.  We should
use greater blocks of data, which would be much more efficient than
what we are currently doing.

Most of the other charset-related code still uses the old
mutt_display_char() &friends interface, which is actually ok as long
as you don't try to handle multibyte character sets.

The most notable change should be the one to mutt_get_translation():
It will delay the loading and parsing of character set information
files until it's really needed, catching a huge amount of standard
cases.  As a side effect, this will make "iso tagged as ascii"
"work" again, as long as both sides use the same iso character set.
charset.c
charset.h
handler.c