From 8abc8cfd97cfe63c8e26e0838d4c825283b30630 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 26 Jul 2013 12:35:46 +0800 Subject: Force to use C locale to load table.conf --- tests/storage/test_table_info.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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 +#include #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"); -- cgit