ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: [Ant]How to deal with the Asia charset?
Date Mon, 03 Sep 2007 11:31:45 GMT
Zhang zhongliang wrote:
> I wrote a java program,and I define the final static constants which value is the Asia
> If the comment contains the charset above,then a warning will be prompted,like the following:
>  @param  createdTime     ????
> message:warning: unmappable character for encoding Cp1252
> If the code contains the charset above,then an error will be prompted,like the following:
> return "???????????ID????????";
> message:illegal escape character.
> I think there is a way to set in the ant runtime,which can correct the problem.
> Any advice will be appreciated!
> thanks.

This looks like javadoc or javac complaining.

There is an encoding attribute for javadoc which should let you set the 
language for javadocs, and a locale setting which may also be useful.

Steve Loughran        
Author: Ant in Action 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message