Hi

I had problems to use umlauts as literal in my patternlayout. I debuged
log4cxx and found that in the file patternparser.cpp in line 116 in the
function PatternParser::parse() char c; should be logchar c;

I changed this for myself and it worked fine. Also I tried to create a
patch, see end of mail.

Greetings

Christian




Index: patternparser.cpp
===================================================================
--- patternparser.cpp   (revision 428276)
+++ patternparser.cpp   (working copy)
@@ -113,7 +113,7 @@
 
   int patternLength = pattern.length();
   int state = LITERAL_STATE;
-  char c;
+  logchar c;
   int i = 0;
   FormattingInfoPtr formattingInfo(FormattingInfo::getDefault());
 

Reply via email to