ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57822] Untar task untars into rubbish
Date Tue, 21 Apr 2015 18:49:49 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=57822

--- Comment #5 from Stefan Bodewig <bodewig@apache.org> ---
Yes, this is a regression.

Ant used to read the file name by a crude algorithm that effectively read the
file name as ASCII
<https://git-wip-us.apache.org/repos/asf?p=ant.git;a=blob;f=src/main/org/apache/tools/tar/TarUtils.java;h=1c4d960feb47021c3db819e0fd30f76217d2c4eb;hb=7105ec785cdcc0faa9afcb9b8384d4864f08a5d6#l81>

With 1.9.0 it uses the platform's default encoding by default.  Unfortunately
turning it back now, would break backwards compatibility for the 1.9.x series. 
I'm going to add an encoding attribute to <untar> and you could then set it to
ASCII or UTF-8 when expanding the archive.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message