[Log4cplus-devel] How could I set the log file Character set as UTF 16, the default is ASCII
Logging Framework for C++
Brought to you by:
wilx
From: DinoStray<Din...@ye...> - 2014-04-29 13:02:32
|
My English is so poor,I hope that won't trouble you. When I write to the log file like LOG4CPLUS_DEBUG(debuggerLog, "析构CDebugger"); It works well,because the log file Character set is ASCII. But if I write to the log file like LOG4CPLUS_DEBUG(debuggerLog, L"析构CDebugger"); the log file won't log any more. How could I set the log file Character set as UTF 16?the default is ASCII. 2014-04-29 久利之事勿为,众争之地勿往;勿以小恶弃人大美,勿以小怨忘人大恩;说人之短,乃护己之短,夸己之长,乃忌人之长;利可共而不可独,谋可寡而不可众;天下古今之庸人,皆以一惰字致败,天下古今之才人,皆以一傲字致败;凡成大事,以识为主,以才为辅,人谋居半,天意居半。 |