utf8 dammit

This commit is contained in:
Vladislav Khorev 2014-11-26 23:32:46 +00:00
parent 2ea2041e8f
commit b03560b5b3

View File

@ -1,4 +1,4 @@
// //
// request_handler.cpp // request_handler.cpp
// ~~~~~~~~~~~~~~~~~~~ // ~~~~~~~~~~~~~~~~~~~
// //
@ -64,7 +64,7 @@ namespace http {
std::wstring requestedStr = UTF8to16(request_path.c_str()); std::wstring requestedStr = UTF8to16(request_path.c_str());
/* /*
requestedStr = L"Âû çàïðîñèëè: " + requestedStr; requestedStr = L"Вы запросили: " + requestedStr;
rep.content = UTF16to8(requestedStr.c_str()); rep.content = UTF16to8(requestedStr.c_str());