Can anyone fix this bug?

I have posted this bug report last year, and it has not fixed yet.

Forwarded by Michael Zhou <[EMAIL PROTECTED]>
----------------------- Original Message -----------------------
 From:    Ceki G?c?<[EMAIL PROTECTED]>
 To:      "Log4J Developers List" <[EMAIL PROTECTED]>
 Date:    Thu, 09 Jan 2003 08:31:10 +0100
 Subject: Re: Can't specify encoding to ConsoleAppender
----

Michael,

Yes, absolutely. One would need to modify the activateOptions mehtod as you 
have indicated. I would appreciate if you could file a bug report 
reproducing the contents of your message.

At 15:07 09.01.2003 +0800, you wrote:
>Hi,
>
>Although ConsoleAppender extends the WriterAppender, it does not follow
>the rule of character encoding.  Given the source code of
>ConsoleAppender:
>
>     if(target.equals(SYSTEM_OUT)) {
>       setWriter(new OutputStreamWriter(System.out));
>     } else {
>       setWriter(new OutputStreamWriter(System.err));
>     }
>
>If I want to output characters other than the system default character
>set, the ConsoleAppender outputs "?".  Is it better modify the code as
>below?
>
>     if(target.equals(SYSTEM_OUT)) {
>       setWriter(createWriter(System.out));
>     } else {
>       setWriter(createWriter(System.err));
>     }
>
>--
>Michael Zhou <[EMAIL PROTECTED]>

--
Ceki



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--------------------- Original Message Ends --------------------

-- 
Michael Zhou <[EMAIL PROTECTED]>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to