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
pull/1/head
Tatsuhiro Tsujikawa 2010-02-19 11:28:27 +00:00
parent 780aaf9c80
commit f77ea4721c
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

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