[uClibc-cvs] svn commit: trunk/uClibc++/tests

gkajmowi at uclibc.org gkajmowi at uclibc.org
Sat Jul 2 14:26:17 UTC 2005


Author: gkajmowi
Date: 2005-07-02 08:26:17 -0600 (Sat, 02 Jul 2005)
New Revision: 10687

Log:
Call setlocale in wchartest

Modified:
   trunk/uClibc++/tests/wchartest.cpp


Changeset:
Modified: trunk/uClibc++/tests/wchartest.cpp
===================================================================
--- trunk/uClibc++/tests/wchartest.cpp	2005-07-02 14:25:14 UTC (rev 10686)
+++ trunk/uClibc++/tests/wchartest.cpp	2005-07-02 14:26:17 UTC (rev 10687)
@@ -1,7 +1,10 @@
 #include <string>
 #include <iostream>
+#include <locale.h>
 
 int main(){
+	setlocale(LC_ALL, "en_US.utf8");
+
 	std::cout << "Starting wchar test" << std::endl;
 	std::wcout << "Test of wcout output" << std::endl;
 	




More information about the uClibc-cvs mailing list