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

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

Hello Thorsten Schöning,

After some research on the source code, we've found that maybe 
ConsoleAppender->setEncoding might be enough,
Although I've tried all options specified in getEncoder:
http://svn.apache.org/viewvc/incubator/log4cxx/branches/LOGCXX-421%20fixed%20cpptasks/src/main/cpp/charsetencoder.cpp?view=markup#l469

I've tried printing hebrew, and I still get question marks. I expected that if 
I used consoleAppender->setEncoding("us-ascii"), the console appender would 
simply write ascii, and I would then see it as some weirdly encoded characters, 
but it still prints out question marks.

How can I make it so it simply spits out the characters I put in, as in just 
the binaries, regardless of how I write it?

> 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