On May 29, 2007, at 6:56 PM, Curt Arnold wrote:
Are you calling setlocale(LC_ALL, "") sometime before log4cxx is initialized? If not, then the value of the default encoding retrieved by log4cxx may not meet your expectations. There is an open bug related to the issue so hopefully eventually log4cxx will track changes to the locale, but right now it only determines the default encoding once and does not respond to subsequent changes.
The trivial example was updated to call setlocale(LC_ALL, "") in April in response to LOGCXX-167 (https://issues.apache.org/jira/ browse/LOGCXX-167)
