Here you can find the source of getEntryComment(ZipEntry entry)
public static String getEntryComment(ZipEntry entry) throws UnsupportedEncodingException
//package com.java2s; import java.io.UnsupportedEncodingException; import java.util.zip.ZipEntry; import org.apache.http.protocol.HTTP; public class Main { public static String getEntryComment(ZipEntry entry) throws UnsupportedEncodingException { return new String(entry.getComment().getBytes(HTTP.UTF_8), "8859_1"); }// www .j ava2 s .c o m }