summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/storage/test_table_info.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/storage/test_table_info.cpp b/tests/storage/test_table_info.cpp
index 68b4735..5781c97 100644
--- a/tests/storage/test_table_info.cpp
+++ b/tests/storage/test_table_info.cpp
@@ -20,10 +20,13 @@
*/
#include <stdio.h>
+#include <locale.h>
#include "pinyin_internal.h"
int main(int argc, char * argv[]) {
+ setlocale(LC_ALL, "");
+
SystemTableInfo system_table_info;
bool retval = system_table_info.load("../../data/table.conf");