ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Remove nulll chars from file
Date Thu, 01 Jul 2010 14:44:59 GMT
On 2010-07-01, Carlos Garc├ęs wrote:

> There is other way to represent the null char on ant script?

Unfortunately there isn't - and you can't even legally add a NUL
character to any XML file either (for example &#0; would be invalid).

A custom filter (maybe a scriptfilter using JavaScript) would work, but
I'm afraid you can't configure any of the configured filters to skip

It may be a nice enhancement if Ant's "backslash interpretation"
understood Java's unicode escapes so you could write \u0000.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message