
590
|
Chapter 9: Information Processing Techniques
Java NIO charset designators—examplesTable 9-10.
Charset designator Encoding Character sets
US-ASCII ASCII ASCII
ISO-8859-1 ISO 8859-1:1998 ISO 8859-1:1998
UTF-8 UTF-8 Unicode
UTF-16 UTF-16 Unicode
UTF-16BE UTF-16BE Unicode
UTF-16LE UTF-16LE Unicode
UTF-32 UTF-32 Unicode
UTF-32BE UTF-32BE Unicode
UTF-32LE UTF-32LE Unicode
ISO-2022-CN ISO-2022-CN-EXT ASCII, CNS 11643-1992
ISO-2022-JP ISO-2022-JP ASCII/JIS-Roman, half-width katakana, JIS X 0208:1997, JIS X 0212-1990
ISO-2022-KR ISO-2022-KR ASCII/KS-Roman, KS X 1001:2004
GB2312 EUC-CN ASCII/GB-Roman, GB 2312-80
EUC-JP EUC-JP ASCII/JIS-Roman, half-width katakana, JIS X 0208:1997, JIS X 0212-1990
EUC-KR EUC-KR ASCII/KS-Roman, KS X 1001:2004
x-EUC-TW EUC-TW ASCII, CNS 11643-1992
GBK GBK ASCII, GBK
GB18030 GB 18030 ASCII, GB 18030
Big5 Big Five ASCII, Big Five
Big5-HKSCS Big Five Hong Kong SCS
Shift_JIS Shift-JIS ASCII/JIS-Roman, half-width katakana, JIS X 0208:1997
A much more complete and up-to-date listing of Java charset designators is available on-
line—be sure to consult the latest Java programming language specication to ensure that
you are using the correct charset designators. is will best guarantee that your program
will function in all possible environments.
*
Miscellaneous Algorithms
is section covers three miscellaneous algorithms that are useful, but are not directly
associated with either ...