Newer libintl needs LC_CTYPE to be set in addition to LC_MESSAGES.

diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog
index 8eff1a5..a732490 100644
--- a/e2fsck/ChangeLog
+++ b/e2fsck/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-04  Philipp Thomas  <pthomas@suse.de>
+
+        * unix.c (main): Newer libintl needs LC_CTYPE to be set in
+		addition to LC_MESSAGES.
+
 2002-02-24  Theodore Tso  <tytso@mit.edu>
 
 	* Makefile.in (install): Install hard links for man pages for
diff --git a/e2fsck/unix.c b/e2fsck/unix.c
index cbedd5d..1eac497 100644
--- a/e2fsck/unix.c
+++ b/e2fsck/unix.c
@@ -682,6 +682,7 @@
 #endif
 #ifdef ENABLE_NLS
 	setlocale(LC_MESSAGES, "");
+	setlocale(LC_CTYPE, "");
 	bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
 	textdomain(NLS_CAT_NAME);
 #endif
diff --git a/misc/ChangeLog b/misc/ChangeLog
index 48ba4b2..d84bf1f 100644
--- a/misc/ChangeLog
+++ b/misc/ChangeLog
@@ -1,3 +1,11 @@
+2002-03-04  Philipp Thomas  <pthomas@suse.de>
+
+	* chattr.c (main), fsck.c (main), mke2fs.c (main), findsuper.c
+		(main), dumpe2fs.c (main), lsattr.c (main), partinfo.c (main),
+		tune2fs.c (main), mklost+found.c (main), badblocks.c
+		(main), e2image.c (main): Newer libintl needs LC_CTYPE to
+		be set in addition to LC_MESSAGES.
+
 2002-02-25  Andreas Dilger  <adilger@clusterfs.com>
 
 	* mke2fs.c: Add check for mkfs.ext3 and create a journal in
diff --git a/misc/badblocks.c b/misc/badblocks.c
index b057f8a..3810615 100644
--- a/misc/badblocks.c
+++ b/misc/badblocks.c
@@ -651,6 +651,7 @@
 	setbuf(stderr, NULL);
 #ifdef ENABLE_NLS
 	setlocale(LC_MESSAGES, "");
+	setlocale(LC_CTYPE, "");
 	bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
 	textdomain(NLS_CAT_NAME);
 #endif
diff --git a/misc/chattr.c b/misc/chattr.c
index f22d4c9..96977e9 100644
--- a/misc/chattr.c
+++ b/misc/chattr.c
@@ -258,6 +258,7 @@
 
 #ifdef ENABLE_NLS
 	setlocale(LC_MESSAGES, "");
+	setlocale(LC_CTYPE, "");
 	bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
 	textdomain(NLS_CAT_NAME);
 #endif
diff --git a/misc/dumpe2fs.c b/misc/dumpe2fs.c
index 320283d..14931b0 100644
--- a/misc/dumpe2fs.c
+++ b/misc/dumpe2fs.c
@@ -244,6 +244,7 @@
 
 #ifdef ENABLE_NLS
 	setlocale(LC_MESSAGES, "");
+	setlocale(LC_CTYPE, "");
 	bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
 	textdomain(NLS_CAT_NAME);
 #endif
diff --git a/misc/e2image.c b/misc/e2image.c
index d8d43f9..8c07b10 100644
--- a/misc/e2image.c
+++ b/misc/e2image.c
@@ -445,6 +445,7 @@
 
 #ifdef ENABLE_NLS
 	setlocale(LC_MESSAGES, "");
+	setlocale(LC_CTYPE, "");
 	bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
 	textdomain(NLS_CAT_NAME);
 #endif
diff --git a/misc/findsuper.c b/misc/findsuper.c
index f1e2315..6eac4ee 100644
--- a/misc/findsuper.c
+++ b/misc/findsuper.c
@@ -126,6 +126,7 @@
 
 #ifdef ENABLE_NLS
 	setlocale(LC_MESSAGES, "");
+	setlocale(LC_CTYPE, "");
 	bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
 	textdomain(NLS_CAT_NAME);
 #endif
diff --git a/misc/fsck.c b/misc/fsck.c
index d4c1d66..8c4499e 100644
--- a/misc/fsck.c
+++ b/misc/fsck.c
@@ -1091,6 +1091,7 @@
 
 #ifdef ENABLE_NLS
 	setlocale(LC_MESSAGES, "");
+	setlocale(LC_CTYPE, "");
 	bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
 	textdomain(NLS_CAT_NAME);
 #endif
diff --git a/misc/lsattr.c b/misc/lsattr.c
index 9e1cc33..513b41a 100644
--- a/misc/lsattr.c
+++ b/misc/lsattr.c
@@ -147,6 +147,7 @@
 
 #ifdef ENABLE_NLS
 	setlocale(LC_MESSAGES, "");
+	setlocale(LC_CTYPE, "");
 	bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
 	textdomain(NLS_CAT_NAME);
 #endif
diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index 307ad2f..f2fa3bd 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -1133,6 +1133,7 @@
 
 #ifdef ENABLE_NLS
 	setlocale(LC_MESSAGES, "");
+	setlocale(LC_CTYPE, "");
 	bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
 	textdomain(NLS_CAT_NAME);
 #endif
diff --git a/misc/mklost+found.c b/misc/mklost+found.c
index 0bc3239..d60e781 100644
--- a/misc/mklost+found.c
+++ b/misc/mklost+found.c
@@ -38,6 +38,7 @@
 
 #ifdef ENABLE_NLS
 	setlocale(LC_MESSAGES, "");
+	setlocale(LC_CTYPE, "");
 	bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
 	textdomain(NLS_CAT_NAME);
 #endif
diff --git a/misc/partinfo.c b/misc/partinfo.c
index 8bdac31..9363149 100644
--- a/misc/partinfo.c
+++ b/misc/partinfo.c
@@ -30,6 +30,7 @@
 
 #ifdef ENABLE_NLS
 	setlocale(LC_MESSAGES, "");
+	setlocale(LC_CTYPE, "");
 	bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
 	textdomain(NLS_CAT_NAME);
 #endif
diff --git a/misc/tune2fs.c b/misc/tune2fs.c
index 3d9f911..7930c78 100644
--- a/misc/tune2fs.c
+++ b/misc/tune2fs.c
@@ -639,6 +639,7 @@
 
 #ifdef ENABLE_NLS
 	setlocale(LC_MESSAGES, "");
+	setlocale(LC_CTYPE, "");
 	bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
 	textdomain(NLS_CAT_NAME);
 #endif