ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
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
charset,GB2312(China),MS932(Japan).
> 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                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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


Mime
View raw message