utf8 dammit

This commit is contained in:
Vladislav Khorev 2014-11-27 09:04:08 +00:00
parent 6797548c79
commit fa48c94e7c

View File

@ -202,7 +202,10 @@ std::cout <<"$$" << UTF16to8(nounNominative.c_str()) << std::endl;
std::cout << "count" << frequentWordSet.count(nounNominative) << std::endl; std::cout << "count" << frequentWordSet.count(nounNominative) << std::endl;
std::wstring huy = *(frequentWordSet.find(L"баран")); std::wstring huy = L"баран";
std::cout <<"h" << (int)huy[0] << " " << (int)huy[1] << " " << (int)huy[2] << " " << (int)huy[3] << " " << (int)huy[4] << std::endl;
std::cout << "n" << (int)nounNominative[0] << " " << (int)nounNominative[1] << " " << (int)nounNominative[2] << " " << (int)nounNominative[3] << " " << (int)nounNominative[4] << std::endl;
if (nounNominative == huy) if (nounNominative == huy)
{ {