如何在UNIX JVM中查看受支持的字符集
我需要在UNIX JVM上使用IBM charset cp1388。 如何查看JVM是否支持此字符集如何在UNIX JVM中查看受支持的字符集,unix,websphere,Unix,Websphere,我需要在UNIX JVM上使用IBM charset cp1388。 如何查看JVM是否支持此字符集 import java.io.IOException; import java.nio.charset.Charset; public class CharsetList { public static void main(String[] args) throws IOException { for (String key: Charset.availableCha
import java.io.IOException;
import java.nio.charset.Charset;
public class CharsetList {
public static void main(String[] args) throws IOException {
for (String key: Charset.availableCharsets().keySet()) {
System.out.println(key);
}
}
}