List of usage examples for java.lang String String
String(byte[] value, byte coder)
From source file:Main.java
public static String getEntryComment(ZipEntry entry) { try {//from ww w .j a va 2 s. c om return new String(entry.getComment().getBytes("GB2312"), "8859_1"); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } return null; }