From 246bc2bb280b290327bde0797dd11846bdd02fba Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Mon, 18 Dec 2017 06:20:53 +0100 Subject: [PATCH] make things work on OS with non-UTF8 default encoding --- src/main/org/apache/tools/ant/taskdefs/Zip.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/Zip.java b/src/main/org/apache/tools/ant/taskdefs/Zip.java index ba31bb498..b8e360432 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Zip.java +++ b/src/main/org/apache/tools/ant/taskdefs/Zip.java @@ -601,10 +601,10 @@ public class Zip extends MatchingTask { /** * Set all stored file modification times to {@code time}. * @param time Milliseconds since 1970-01-01 00:00, or - * YYYY-MM-DD{T/ }HH:MM[:SS[.SSS]][ ][±ZZ[[:]ZZ]], or + * YYYY-MM-DD{T/ }HH:MM[:SS[.SSS]][ ][\u00b1ZZ[[:]ZZ]], or * MM/DD/YYYY HH:MM[:SS] {AM/PM}, where {a/b} indicates * that you must choose one of a or b, and [c] indicates that you - * may use or omit c. ±ZZZZ is the timezone offset, and may be + * may use or omit c. \u00b1ZZZZ is the timezone offset, and may be * literally "Z" to mean GMT. * @since Ant 1.9.10 */