summaryrefslogtreecommitdiff
path: root/gnulib.modules
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-12-29 17:34:59 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-12-29 17:34:59 +0200
commit1428bd4560d2e740c4941a0f8121c674c2ee7500 (patch)
tree05c156421cb45e31750eab7463a8a9687e22b5f7 /gnulib.modules
parentd39f4c2db3ea8bc387cde7dcc2825598aa166ff6 (diff)
downloadmailutils-1428bd4560d2e740c4941a0f8121c674c2ee7500.tar.gz
mailutils-1428bd4560d2e740c4941a0f8121c674c2ee7500.tar.bz2
Support for multibyte-encoding in MH.
* gnulib.modules (mbchar, mbiter, mbslen): New modules. * mh/mh.h (mh_charset): New function. * mh/mh_format.c (DFLWIDTH): New macro. (mbsubstrlen, mbsnlen): New functions. (compress_ws): Handle multibyte strings. (put_string): Use number of characters, not octets, to update ind. (print_hdr_segment): Handle multibyte strings. (print_simple_segment, print_fmt_string): Likewise. (reset_fmt_defaults): Restore default WS compression. (mh_format): Set LC_TYPE based on the settings of profile variables Charset and LC_BASE (new variable). * mh/mh_init.c (mh_charset): New function. (mh_decode_2047): Use mh_charset.
Diffstat (limited to 'gnulib.modules')
-rw-r--r--gnulib.modules3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnulib.modules b/gnulib.modules
index 37093a752..4368cf7c2 100644
--- a/gnulib.modules
+++ b/gnulib.modules
@@ -14,6 +14,9 @@ gitlog-to-changelog
intprops
inttostr
malloc
+mbchar
+mbiter
+mbslen
mbswidth
obstack
realloc

Return to:

Send suggestions and report system problems to the System administrator.