This looks like a source code file problem not an Ant problem. Try running native2ascii on your source code file to encode all the Japanese characters. I don't think the source code file can have anything other than ascii characters in it.
HTH Bill -----Original Message----- From: Lylesh V Menezes [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 10:47 PM To: user@ant.apache.org Subject: Compiler problems Hi, I am very new to ANT now, Hi, I am getting the following errors when i compile Java using ANT illegal escape character, these files are using Japanese codepages, I also get some other errors like this unclosed string literal so can any one help me in this, i am pretty new to ant. [javac] Compiling 433 source files to /u/cicswsp/output [javac] /source/myclient/Cic쬵½[Íg£[ÅÍÈ¢ÌÅA±êçÌg£Ú±\bhðgpūܹñB"},cape character [javac] ^ [javac] /source/myclient/CicsResourceBundle_ja.java:188: illegal escape character [javac] {"msg87", "CTG6786I gpÂ\Èó«[ª èܹñB"}, [javac] ^ [javac] /source/myclient/Cics {0}Añ {1} ÉÝèūܹñŵ½ - ÍÍOÅ·B"},l escape character [javac] ^ [javac] /source/myepi/BeansResourceBundle_ja.java:90: unclosed string literal [javac] {"msg6", "ATI gpÂ\" }, //@D1C [javac] ^ [javac] /source/myepi/BeansResourceBundle_ja.java:116: unclosed string literal [javac] {"msg32", "TCIs\" }, //@F1A [javac] ^ [javac] /source/myepi/BeansResourceBundle_ja.java:117: unclosed string literal [javac] {"msg33", "TCIÂ\" }, //@F1A [javac] ^ [javac] /source/myepi/BeansResourceBundle_ja.java:123: unclosed string literal [javac] {"msg39", "[EMAIL PROTECTED]" }, //@F1A [javac] ^ Thanks & Regards, Lylesh ============================================= Lylesh V. Menezes. CICSTG and CICSUC HurDDC, IBM India Software Labs. Golden Enclave, Airport Road, Bangalore , India. Ph:25262355 Extn 2033, Direct : 25094033, Cell : 98453 38204 email : [EMAIL PROTECTED], web : http://www.ibm.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]