Has anyone given thought to modifying LogOutputStream to support a character stream instead of Byte stream? For i18n purposes, this is a must. For example, the javac tag will not output the correct error message for a build if the class contains Unicode characters in Japanese.

--- error message on us environment --- [java] ...\jsp_servlet\_addevent.java:20: 'class' or 'interface' expected

--- error message on jpn environment --- [java] ...\jsp_servlet\_addevent.java:20: 'class' ?????? 'interface' ?????????????B

This particular case would also affect the javac compiler helpers, but the primary culprit is the use of ByteArrayOutputStream in org.apache.tools.ant.taskdefs.LogOutputStream

Your comments are welcome, TIA.

Derek Sharpe
Sr. Software Engineer
BEA Systems, Inc.



Reply via email to