The ZIP file will only reflect the relative paths of files within each fileset.
The character encoding to use for filenames inside the zip file.
For a list of possible values see the Supported Encodings.
Defaults to the platform's default character encoding.
This task will now use the platform's default character encoding for filenames - this is consistent with the command line ZIP tools, but causes problems if you try to open them from within Java and your filenames contain non US-ASCII characters.
Use the encoding attribute and set it to UTF8 to create zip files that can safely be read by Java.