
14 Nov
2005
14 Nov
'05
6:04 p.m.
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) Gennadiy