大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全家桶1年46,售后保障稳定
可以通过以下方法打印所有的字符集
public void test(){
Map<String , Charset> map = Charset.availableCharsets();
Set<Entry<String , Charset>> set = map.entrySet();
for(Entry<String , Charset> entry : set){
System.out.println(entry.getKey() + "=" + entry.getValue());
}
}
}
得到所支持的所有字符集如下:
Adobe-Standard-Encoding=Adobe-Standard-Encoding
Big5=Big5
Big5-HKSCS=Big5-HKSCS
BOCU-1=BOCU-1
CESU-8=CESU-8
cp1363=cp1363
cp851=cp851
EUC-JP=EUC-JP
EUC-KR=EUC-KR
GB18030=GB18030
GBK=GBK
hp-roman8=hp-roman8
HZ-GB-2312=HZ-GB-2312
IBM-Thai=IBM-Thai
IBM00858=IBM00858
IBM01140=IBM01140
IBM01141=IBM01141
IBM01142=IBM01142
IBM01143=IBM01143
IBM01144=IBM01144
IBM01145=IBM01145
IBM01146=IBM01146
IBM01147=IBM01147
IBM01148=IBM01148
IBM01149=IBM01149
IBM037=IBM037
IBM1026=IBM1026
IBM1047=IBM1047
IBM273=IBM273
IBM277=IBM277
IBM278=IBM278
IBM280=IBM280
IBM284=IBM284
IBM285=IBM285
IBM290=IBM290
IBM297=IBM297
IBM420=IBM420
IBM424=IBM424
IBM437=IBM437
IBM500=IBM500
IBM775=IBM775
IBM850=IBM850
IBM852=IBM852
IBM855=IBM855
IBM857=IBM857
IBM860=IBM860
IBM861=IBM861
IBM862=IBM862
IBM863=IBM863
IBM864=IBM864
IBM865=IBM865
IBM866=IBM866
IBM868=IBM868
IBM869=IBM869
IBM870=IBM870
IBM871=IBM871
IBM918=IBM918
ISO-2022-CN=ISO-2022-CN
ISO-2022-CN-EXT=ISO-2022-CN-EXT
ISO-2022-JP=ISO-2022-JP
ISO-2022-JP-1=ISO-2022-JP-1
ISO-2022-JP-2=ISO-2022-JP-2
ISO-2022-KR=ISO-2022-KR
ISO-8859-1=ISO-8859-1
ISO-8859-10=ISO-8859-10
ISO-8859-13=ISO-8859-13
ISO-8859-14=ISO-8859-14
ISO-8859-15=ISO-8859-15
ISO-8859-2=ISO-8859-2
ISO-8859-3=ISO-8859-3
ISO-8859-4=ISO-8859-4
ISO-8859-5=ISO-8859-5
ISO-8859-6=ISO-8859-6
ISO-8859-7=ISO-8859-7
ISO-8859-8=ISO-8859-8
ISO-8859-9=ISO-8859-9
KOI8-R=KOI8-R
KOI8-U=KOI8-U
macintosh=macintosh
SCSU=SCSU
Shift_JIS=Shift_JIS
TIS-620=TIS-620
US-ASCII=US-ASCII
UTF-16=UTF-16
UTF-16BE=UTF-16BE
UTF-16LE=UTF-16LE
UTF-32=UTF-32
UTF-32BE=UTF-32BE
UTF-32LE=UTF-32LE
UTF-7=UTF-7
UTF-8=UTF-8
windows-1250=windows-1250
windows-1251=windows-1251
windows-1252=windows-1252
windows-1253=windows-1253
windows-1254=windows-1254
windows-1255=windows-1255
windows-1256=windows-1256
windows-1257=windows-1257
windows-1258=windows-1258
x-compound-text=x-compound-text
x-ebcdic-xml-us=x-ebcdic-xml-us
x-euc-tw-2014=x-euc-tw-2014
x-gsm-03.38-2009=x-gsm-03.38-2009
x-ibm-1047-s390=x-ibm-1047-s390
x-ibm-1125_P100-1997=x-ibm-1125_P100-1997
x-ibm-1129_P100-1997=x-ibm-1129_P100-1997
x-ibm-1130_P100-1997=x-ibm-1130_P100-1997
x-ibm-1131_P100-1997=x-ibm-1131_P100-1997
x-ibm-1132_P100-1998=x-ibm-1132_P100-1998
x-ibm-1133_P100-1997=x-ibm-1133_P100-1997
x-ibm-1137_P100-1999=x-ibm-1137_P100-1999
x-ibm-1140-s390=x-ibm-1140-s390
x-ibm-1141-s390=x-ibm-1141-s390
x-ibm-1142-s390=x-ibm-1142-s390
x-ibm-1143-s390=x-ibm-1143-s390
x-ibm-1144-s390=x-ibm-1144-s390
x-ibm-1145-s390=x-ibm-1145-s390
x-ibm-1146-s390=x-ibm-1146-s390
x-ibm-1147-s390=x-ibm-1147-s390
x-ibm-1148-s390=x-ibm-1148-s390
x-ibm-1149-s390=x-ibm-1149-s390
x-ibm-1153-s390=x-ibm-1153-s390
x-ibm-1154_P100-1999=x-ibm-1154_P100-1999
x-ibm-1155_P100-1999=x-ibm-1155_P100-1999
x-ibm-1156_P100-1999=x-ibm-1156_P100-1999
x-ibm-1157_P100-1999=x-ibm-1157_P100-1999
x-ibm-1158_P100-1999=x-ibm-1158_P100-1999
x-ibm-1160_P100-1999=x-ibm-1160_P100-1999
x-ibm-1162_P100-1999=x-ibm-1162_P100-1999
x-ibm-1164_P100-1999=x-ibm-1164_P100-1999
x-ibm-1250_P100-1995=x-ibm-1250_P100-1995
x-ibm-1251_P100-1995=x-ibm-1251_P100-1995
x-ibm-1252_P100-2000=x-ibm-1252_P100-2000
x-ibm-1253_P100-1995=x-ibm-1253_P100-1995
x-ibm-1254_P100-1995=x-ibm-1254_P100-1995
x-ibm-1255_P100-1995=x-ibm-1255_P100-1995
x-ibm-1256_P110-1997=x-ibm-1256_P110-1997
x-ibm-1257_P100-1995=x-ibm-1257_P100-1995
x-ibm-1258_P100-1997=x-ibm-1258_P100-1997
x-ibm-12712-s390=x-ibm-12712-s390
x-ibm-12712_P100-1998=x-ibm-12712_P100-1998
x-ibm-1373_P100-2002=x-ibm-1373_P100-2002
x-ibm-1383_P110-1999=x-ibm-1383_P110-1999
x-ibm-1386_P100-2001=x-ibm-1386_P100-2001
x-ibm-16684_P110-2003=x-ibm-16684_P110-2003
x-ibm-16804-s390=x-ibm-16804-s390
x-ibm-16804_X110-1999=x-ibm-16804_X110-1999
x-ibm-25546=x-ibm-25546
x-ibm-33722_P12A_P12A-2009_U2=x-ibm-33722_P12A_P12A-2009_U2
x-ibm-37-s390=x-ibm-37-s390
x-ibm-4517_P100-2005=x-ibm-4517_P100-2005
x-ibm-4899_P100-1998=x-ibm-4899_P100-1998
x-ibm-4909_P100-1999=x-ibm-4909_P100-1999
x-ibm-4971_P100-1999=x-ibm-4971_P100-1999
x-ibm-5123_P100-1999=x-ibm-5123_P100-1999
x-ibm-5351_P100-1998=x-ibm-5351_P100-1998
x-ibm-5352_P100-1998=x-ibm-5352_P100-1998
x-ibm-5353_P100-1998=x-ibm-5353_P100-1998
x-ibm-5478_P100-1995=x-ibm-5478_P100-1995
x-ibm-803_P100-1999=x-ibm-803_P100-1999
x-ibm-813_P100-1995=x-ibm-813_P100-1995
x-ibm-8482_P100-1999=x-ibm-8482_P100-1999
x-ibm-901_P100-1999=x-ibm-901_P100-1999
x-ibm-902_P100-1999=x-ibm-902_P100-1999
x-ibm-9067_X100-2005=x-ibm-9067_X100-2005
x-ibm-916_P100-1995=x-ibm-916_P100-1995
x-IBM1006=x-IBM1006
x-IBM1025=x-IBM1025
x-IBM1097=x-IBM1097
x-IBM1098=x-IBM1098
x-IBM1112=x-IBM1112
x-IBM1122=x-IBM1122
x-IBM1123=x-IBM1123
x-IBM1124=x-IBM1124
x-IBM1153=x-IBM1153
x-IBM1363=x-IBM1363
x-IBM1364=x-IBM1364
x-IBM1371=x-IBM1371
x-IBM1388=x-IBM1388
x-IBM1390=x-IBM1390
x-IBM1399=x-IBM1399
x-IBM33722=x-IBM33722
x-IBM720=x-IBM720
x-IBM737=x-IBM737
x-IBM856=x-IBM856
x-IBM867=x-IBM867
x-IBM874=x-IBM874
x-IBM875=x-IBM875
x-IBM922=x-IBM922
x-IBM930=x-IBM930
x-IBM933=x-IBM933
x-IBM935=x-IBM935
x-IBM937=x-IBM937
x-IBM939=x-IBM939
x-IBM942=x-IBM942
x-IBM943=x-IBM943
x-IBM949=x-IBM949
x-IBM949C=x-IBM949C
x-IBM950=x-IBM950
x-IBM954=x-IBM954
x-IBM964=x-IBM964
x-IBM970=x-IBM970
x-IBM971=x-IBM971
x-IMAP-mailbox-name=x-IMAP-mailbox-name
x-iscii-be=x-iscii-be
x-iscii-gu=x-iscii-gu
x-iscii-ka=x-iscii-ka
x-iscii-ma=x-iscii-ma
x-iscii-or=x-iscii-or
x-iscii-pa=x-iscii-pa
x-iscii-ta=x-iscii-ta
x-iscii-te=x-iscii-te
x-ISCII91=x-ISCII91
x-ISO-2022-CN-CNS=x-ISO-2022-CN-CNS
x-iso-8859-11=x-iso-8859-11
x-JavaUnicode=x-JavaUnicode
x-JavaUnicode2=x-JavaUnicode2
x-JIS7=x-JIS7
x-JIS8=x-JIS8
x-LMBCS-1=x-LMBCS-1
x-mac-centraleurroman=x-mac-centraleurroman
x-mac-cyrillic=x-mac-cyrillic
x-mac-greek=x-mac-greek
x-mac-turkish=x-mac-turkish
x-MS950-HKSCS=x-MS950-HKSCS
x-UnicodeBig=x-UnicodeBig
x-UTF-16LE-BOM=x-UTF-16LE-BOM
x-UTF16_OppositeEndian=x-UTF16_OppositeEndian
x-UTF16_PlatformEndian=x-UTF16_PlatformEndian
x-UTF32_OppositeEndian=x-UTF32_OppositeEndian
x-UTF32_PlatformEndian=x-UTF32_PlatformEndian
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/213555.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...