Browse Source

Let the unzip testEncoding testcase use UnicodeBig instead of UTF16

UnicodeBig is supported by rt.jar of 1.2.2 as opposed to UTF16.
UTF16 is not even listed on
http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html
PR: 22549
Submitted by: J.M. (Martijn) Kruithof (ant at kruithof dot xs4all dot nl)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275121 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 22 years ago
parent
commit
b86bbcefc9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/testcases/taskdefs/unzip.xml

+ 2
- 2
src/etc/testcases/taskdefs/unzip.xml View File

@@ -88,9 +88,9 @@
<target name="encodingTest">
<mkdir dir="unziptestin"/>
<touch file="unziptestin/foo"/>
<zip zipfile="unziptest.zip" basedir="unziptestin" encoding="UTF16"/>
<zip zipfile="unziptest.zip" basedir="unziptestin" encoding="UnicodeBig"/>
<mkdir dir="unziptestout"/>
<unzip src="unziptest.zip" dest="unziptestout" encoding="UTF16"/>
<unzip src="unziptest.zip" dest="unziptestout" encoding="UnicodeBig"/>
</target>

</project>

Loading…
Cancel
Save