Re: ANT replaceregexp problem

2008-11-17 Thread Jerry Chimey
<[EMAIL PROTECTED]> To: Ant Users List Sent: Monday, November 17, 2008 4:02:08 AM Subject: Re: ANT replaceregexp problem Your XML file specifies the char encoding being used (UTF-8), but I'm guessing that the replaceregexp task won't understand this, since it's not XML-aware

Re: ANT replaceregexp problem

2008-11-17 Thread Brian Agnew
Your XML file specifies the char encoding being used (UTF-8), but I'm guessing that the replaceregexp task won't understand this, since it's not XML-aware. So your replacement string may be getting written out using another encoding - most likely your default environment encoding. Try setting -Dfi

ANT replaceregexp problem

2008-11-16 Thread Jerry Chimey
Hi, I am seeing a weird problem of using replaceregexp in ANT. Basically, for the non-English characters, they are updated even though they are not matched by the regular expression. The following is my original input: - -- file://loca