Re: [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: vvv j. <vv...@ya...> - 2014-04-29 18:19:00
|
Hi Check the Unicode Text Logging in the log4cplus form which I asked in June 2012. It is similar to your question. Václav Zeman explained clearly about logging unicode text. Let me know if you still have any doubts. Regards J. Viswanath On Tuesday, 29 April 2014 6:32 PM, DinoStray <Din...@ye...> wrote: 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 ________________________________ 久利之事勿为,众争之地勿往;勿以小恶弃人大美,勿以小怨忘人大恩;说人之短,乃护己之短,夸己之长,乃忌人之长;利可共而不可独,谋可寡而不可众;天下古今之庸人,皆以一惰字致败,天下古今之才人,皆以一傲字致败;凡成大事,以识为主,以才为辅,人谋居半,天意居半。 ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Log4cplus-devel mailing list Log...@li... https://lists.sourceforge.net/lists/listinfo/log4cplus-devel |