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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to