// // Utf8Everywhere - demonstrates using http://utf8everywhere.org on Windows. // #include #include #include #include void 中文() { PLOGD << "Chinese: 中文"; PLOGD << L"Chinese: 中文"; } void тест() { PLOGD << "Cyrillic: тест"; PLOGD << L"Cyrillic: тест"; } int main() { plog::init(plog::debug, "Utf8Everywhere.log"); // Initialize logging to the file. plog::ColorConsoleAppender consoleAppender; plog::get()->addAppender(&consoleAppender); // Also add logging to the console. 中文(); тест(); return 0; }