DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36282>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36282 Summary: ConsoleAppender ignores encoding set with setEncoding() Product: Log4j Version: 1.2 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Appender AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] ConsoleAppender, as a subclass of WriterAppender, should behave correctly when its encoding is set to something other than the system default. Since the ConsoleAppender is already wrapping System.out and System.err in an OutputStreamWriter it's a simple matter to create an OutputStreamWriter with the desired encoding. One could argue that System.{out,err} have system-defined encodings and that those should stand. But it seems equally important, if not more so, to be able to write software that has predictable behavior in the face of varying system defaults. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
