From 654cdad2e703be5f7b469da33032ca271fd8d0c9 Mon Sep 17 00:00:00 2001 From: Vladislav Khorev Date: Wed, 26 Nov 2014 23:33:38 +0000 Subject: [PATCH] utf8 dammit --- rudict/rudict/http/request_handler.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rudict/rudict/http/request_handler.cpp b/rudict/rudict/http/request_handler.cpp index b96c2c5..18efacd 100644 --- a/rudict/rudict/http/request_handler.cpp +++ b/rudict/rudict/http/request_handler.cpp @@ -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 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++;