You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Derek <de...@bea.com> on 2001/08/01 21:48:35 UTC
LogOutputStream
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.