Log4cxx uses a String class which is defined as std::basic_string<TCHAR>.
Now, TCHAR is defined as char or wchar_t depending on whether the constant
_UNICODE has been defined in your program.
 
If you are running log4cxx in Windows then include <tchar.h> before any
log4cxx include files and define _UNICODE in your project. If you are _not_
running under Windows then I believe you only have to define _UNICODE but I
am not sure about this one because I run under Windows.

Hope this helps,
 
-delfin

> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, March 20, 2005 8:35 AM
> > To: log4cxx-user@logging.apache.org
> > Subject: Wide Character Support
> >
> > We are in the process of converting all char * definitions to wchar_t
> > definitions, and this is proving a little more work than a simple cut
> and
> > paste (We figured it would).  Is there any reason log4cxx is wide
> > character
> > lacking, that I have overlooked?
> >
> > Ron
> >
> > --------------------------------------------------------------------
> > mail2web - Check your email from the web at
> > http://mail2web.com/ .
> >
> >


Reply via email to