📄 encodings.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><!--NewPage--><html><head><title>Encoding Schemes</title><style type="text/css"><!----></style></head><body BGCOLOR="#ffffff"><p> <h2 align="center">Java's Encoding Schemes</h2><p> <center> </center><blockquote> <blockquote> <hr size=4> </blockquote></blockquote><p>This sidebar describes the character-encoding schemes that are supported by the Java platform. Use your browser's back button to continue in the document that brought you here.<h4><a name="USASCII"></a>US-ASCII</h4><blockquote> <p>US-ASCII is a 7-bit encoding scheme that covers the English-language alphabet. It is not large enough to cover the characters used in other languages, however, so it is not very useful for internationalization.</p></blockquote><h4><a name="UTF8"></a>UTF-8</h4><blockquote> <p>UTF-8 is an 8-bit encoding scheme. Characters from the English-language alphabet are all encoded using an 8-bit bytes. Characters for other languages are encoding using 2, 3 or 3ven 4 bytes. UTF-8 therefore produces compact documents for the English language, but very large documents for other languages. If the majority of a document's text is in English, then UTF-8 is a good choice because it allows for internationalization while still minimizing the space required for encoding.</p></blockquote><h4><a name="UTF16"></a>UTF-16</h4><blockquote> <p>UTF-8 is a 16-bit encoding scheme. It is large enough to encode all the characters from all the alphabets in the world, with the exception of ideogram-based languages like Chinese. All characters in UTF-16 are encoded using 2 bytes. An English-language document that uses UTF-16 will be twice as large as the same document encoded using UTF-8. Documents written in other languages, however, will be far smaller using UTF-16.</p> <hr size=4></blockquote></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -