Parcourir la source

2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Reverted changes in r1893. setlocale(LC_CTYPE, "") is needed
	because without it localized error messages are not printed
	correctly.
	* src/Platform.cc
Tatsuhiro Tsujikawa il y a 15 ans
Parent
commit
f77ea4721c
2 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 7 0
      ChangeLog
  2. 1 0
      src/Platform.cc

+ 7 - 0
ChangeLog

@@ -1,3 +1,10 @@
+2010-02-19  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Reverted changes in r1893. setlocale(LC_CTYPE, "") is needed
+	because without it localized error messages are not printed
+	correctly.
+	* src/Platform.cc
+
 2010-02-19  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Added unit tests for util::getContentDispositionFilename() from

+ 1 - 0
src/Platform.cc

@@ -91,6 +91,7 @@ bool Platform::setUp()
   _initialized = true;
 
 #ifdef ENABLE_NLS
+  setlocale (LC_CTYPE, "");
   setlocale (LC_MESSAGES, "");
   bindtextdomain (PACKAGE, LOCALEDIR);
   textdomain (PACKAGE);