summaryrefslogtreecommitdiffstats
path: root/charset.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-09-11 10:50:37 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-09-11 10:50:37 +0000
commit7777fb663e7b295731b226baf3df5f9186345763 (patch)
tree08bda6d710ae50256b671355c8cbb6b00cd63d43 /charset.c
parent775b6121790dcfbb39174896011e4e39a1bdbacd (diff)
Fix some more character set glitches.
Diffstat (limited to 'charset.c')
-rw-r--r--charset.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/charset.c b/charset.c
index 8961ebde..00efd6f5 100644
--- a/charset.c
+++ b/charset.c
@@ -38,17 +38,6 @@
# define EILSEQ EINVAL
#endif
-#ifdef HAVE_LANGINFO_CODESET
-# include <langinfo.h>
-
-/*
- * Try to convert nl_langinfo's return value to something we can
- * use for MIME's purposes.
- *
- * Note that the algorithm used here is quite different from the
- * one in mutt_canonical_charset.
- */
-
/*
* The following list has been created manually from the data under:
* http://www.isi.edu/in-notes/iana/assignments/character-sets
@@ -191,6 +180,10 @@ PreferredMIMENames[] =
{ NULL, NULL }
};
+#ifdef HAVE_LANGINFO_CODESET
+# include <langinfo.h>
+
+
void mutt_set_langinfo_charset (void)
{
char buff[LONG_STRING];