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; public class Main { public static String getEntryComment(ZipEntry entry) throws UnsupportedEncodingException { return new String(entry.getComment().getBytes("GB2312"), "8859_1"); }/* w ww . j a v a 2 s . co m*/ }