Java tutorial
//package com.java2s; import java.io.UnsupportedEncodingException; import java.util.zip.ZipEntry; public class Main { public static String getEntryComment(ZipEntry entry) { try { return new String(entry.getComment().getBytes("GB2312"), "8859_1"); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } return null; } }