I think you should change the filename itself coz on many systems these characters cause problems.
-----Message d'origine----- De : Noel Sebastien (BIL) [mailto:[EMAIL PROTECTED] Envoyé : jeudi, 9. février 2006 16:18 À : Ant Users List Objet : RE: Delete task failed to remove French file name Thank you, I tried but it failed. The right answer is probably something relating to the charset (or encoding), you are right. But the <?xml declaration encoding's scope is only the build.xml itself. I also tried : ant -Dfile.encoding=ISO-88591 .. But failed too ! -----Original Message----- From: ar [mailto:[EMAIL PROTECTED] Sent: jeudi 9 février 2006 16:02 To: Ant Users List Subject: Re: Delete task failed to remove French file name Hi What's the encoding specified in your build.xml file ? If it's UTF-8, you should try with ISO-8859-1 <?xml version="1.0" encoding="ISO-8859-1"?> AR Le Thu, 09 Feb 2006 15:27:52 +0100, Noel Sebastien (BIL) <[EMAIL PROTECTED]> a écrit: > Hi all, > As you know, french language includes some stressed characters like é, > à, > etc I have a file called "BD_Modèle.sql" in a "src" folder. > > I use Ant 1.6.5 on Unix and the task <delete dir="src"/> fails saying : > Unable to delete file /export/home/wasapps/src/BD_Mod?le.sql > at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:594) > at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:587) > > Could anyone hep me ? > > > Séb > > > > --------------------- > An electronic message is not binding on its sender. > Any message referring to a binding engagement must be confirmed in > writing and duly signed. > --------------------- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] For additional > commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------- An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. --------------------- --------------------- An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. --------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]