https://issues.apache.org/bugzilla/show_bug.cgi?id=51580
--- Comment #10 from Christopher Schultz <ch...@christopherschultz.net> 2011-08-25 13:55:26 UTC --- (In reply to comment #4) > Zip uses platform default encoding to encode file names. > JAR uses UTF-8. I'm not so sure that's true: $ echo $LC_CTYPE en_US.UTF-8 $ jar tvf 51580.war 0 Sat Aug 13 21:06:34 EDT 2011 text_extraction_rules/ 594 Sat Aug 13 21:06:34 EDT 2011 text_extraction_rules/Cliente-TextExtractRules-Açoreana.properties 570 Sat Aug 13 21:06:34 EDT 2011 text_extraction_rules/Cliente-TextExtractRules-Liberty.properties $ LC_CTYPE=en_US.ISO-8851-1 jar tvf 51580.war 0 Sat Aug 13 21:06:34 EDT 2011 text_extraction_rules/ 594 Sat Aug 13 21:06:34 EDT 2011 text_extraction_rules/Cliente-TextExtractRules-A?oreana.properties 570 Sat Aug 13 21:06:34 EDT 2011 text_extraction_rules/Cliente-TextExtractRules-Liberty.properties $ unzip -v 51580.war Archive: 51580.war Length Method Size Cmpr Date Time CRC-32 Name -------- ------ ------- ---- ---------- ----- -------- ---- 0 Stored 0 0% 2011-08-13 21:06 00000000 text_extraction_rules/ 594 Stored 594 0% 2011-08-13 21:06 3271f2b8 text_extraction_rules/Cliente-TextExtractRules-A?oreana.properties 570 Stored 570 0% 2011-08-13 21:06 a00a7a2c text_extraction_rules/Cliente-TextExtractRules-Liberty.properties -------- ------- --- ------- 1164 1164 0% 3 files When my file.encoding ends up being ISO-8859-1, jar acts just as stupidly as zip. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org