[ 
https://issues.apache.org/jira/browse/LOGCXX-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15405799#comment-15405799
 ] 

Giora Guttsait commented on LOGCXX-483:
---------------------------------------

Hey, I took the time to look at the transcoder.cpp snippet you left here, and 
LOSSCHAR does seem to be a question mark.
The problematic line seems to be: #if LOG4CXX_CHARSET_UTF8 && 
LOG4CXX_LOGCHAR_IS_UTF8
The library sits at /usr/include, so from what I could grep, the IS_UTF8 is 
active, but CHARSET_UTF8 only seems to appear in private/log4cxx_private.h, and 
it's value is assigned to be 0.

How can I, without building the sources, change the value of 
LOG4CXX_CHARSET_UTF8? I do want it to get to the simple dst.append(src) line...

> Not able to see hebrew values when logging in log4cxx
> -----------------------------------------------------
>
>                 Key: LOGCXX-483
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-483
>             Project: Log4cxx
>          Issue Type: Bug
>         Environment: Linux Debian 8 32bit
>            Reporter: Giora Guttsait
>
> When logging messages with a console appender (whose output is directed to a 
> file), hebrew text is shown as weird symbols.
> It really affects out ability to debug and analyze the program output at 
> specific points, so a quick fix(if possible) would be great



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to