Here you can find the source of getEntryComment(ZipEntry entry)
public static String getEntryComment(ZipEntry entry) throws UnsupportedEncodingException
//package com.java2s; import java.io.*; import java.util.zip.ZipEntry; public class Main { public static String getEntryComment(ZipEntry entry) throws UnsupportedEncodingException { String comment = new String(entry.getComment().getBytes("GB2312"), "8859_1"); return comment; }/*ww w .ja v a 2s .co m*/ }