
Gennadiy Rozental wrote:
Yes, the lib allows for Unicode.
Is it covered anywhere in docs? Would you care to show how this could be done?
Ok, my bad. To deal with Unicode, simply define the UNICODE macro.
First of all any macro based solution wouldn't be acceptable. Second "simply define the UNICODE macro" doesn't do a bit. Did you see your own code? The whole design is never thought through in regards to custom character/string type. Here is extract from fwd header:
(#ifndef BOOST_LOG_VC ignored)
struct default_log_manager {
typedef char char_t; typedef std::string string; typedef std::ostringstream stream; };
That's it: no ifdef UNICODE whatsoever (and again it wouldn't be acceptable anyway)
I've updated the lib, due to feedback from Paul Bristow. Best, John -- John Torjo, Contributing editor, C/C++ Users Journal -- "Win32 GUI Generics" -- generics & GUI do mix, after all -- http://www.torjo.com/win32gui/surfaces.html - Sky's the limit! -- http://www.torjo.com/cb/ - Click, Build, Run!