utf8 dammit

This commit is contained in:
Vladislav Khorev 2014-11-26 23:33:38 +00:00
parent b03560b5b3
commit 654cdad2e7

View File

@ -138,6 +138,7 @@ namespace http {
{
boost::property_tree::wptree result;
std::cout <<"PrepareReport" << std::endl;
if (request.size() < 2)
{
result.put(L"error", L"String is too short");
@ -146,6 +147,7 @@ namespace http {
std::vector<NounStruct> nounStructArr = RecognizeNoun(request);
std::cout <<"nounstructarr" << nounStructArr.size() << std::endl;
int id = 0;
@ -163,6 +165,8 @@ namespace http {
nounTree.put(L"nominative", nounStruct.noun);
std::cout <<"nominative" << std::endl;
nounArr.push_back(std::make_pair(L"", nounTree));
id++;