diff --git a/include/cppjieba/Jieba.hpp b/include/cppjieba/Jieba.hpp index 01fea361..99eb40c8 100644 --- a/include/cppjieba/Jieba.hpp +++ b/include/cppjieba/Jieba.hpp @@ -1,6 +1,10 @@ #ifndef CPPJIEAB_JIEBA_H #define CPPJIEAB_JIEBA_H +#if _MSC_VER >= 1600 + #pragma execution_character_set("utf-8") +#endif + #include "QuerySegment.hpp" #include "KeywordExtractor.hpp"