ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myriam Delperier" <myriam.delper...@ajlsm.com>
Subject ant output
Date Mon, 01 Sep 2003 05:56:37 GMT
Hello,
i've written a class which implements BuildLogger.
I'd like to have my log messages written in UTF-8 but i don't know how to do
it.

I can't write this :
public void setOutputPrintStream(PrintStream output) {

 try {

this.out = new PrintStream(output, true, "UTF-8");

} catch (UnsupportedEncodingException e) {

this.out = new PrintStream(output, true);

}


because it only works with java 1.4...

i've tried to add this in my scritps : -Dfile.encoding=UTF-8 but it doesn't
work ...
ant it has to work on each OS
if somebody can help me :-)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message