htmlcompressor
htmlcompressor copied to clipboard
XML files mixed UTF8 / UTF16
What steps will reproduce the problem?
1. Compressing a mix of UTF-8/UTF-16 encoding XML files using same command line
2. Command Line "java -jar htmlcompressor-1.5.3.jar -o ..jobSearch.xml
..jobSearch.xml"
3. I want to use the same single command/ant taks to compress all the XML files
(both UTF 8 / UTF 16)
What is the expected output? What do you see instead?
Output is junk characters for UTF 16 encoded files
What version of the product are you using? On what operating system?
htmlcompressor-1.5.3.jar
Please provide any additional information below.
Original issue reported on code.google.com by [email protected] on 14 Mar 2012 at 9:28
Attachments:
Are you suggesting it should autodetect encoding from "<?xml version="1.0"
encoding="UTF-16"?>"?
Original comment by [email protected] on 15 Mar 2012 at 12:19