After half a day MSDN found, | behind the alias
Copy Code code as follows:
Ansi_x3.4-1968|iso-8859-1
Ansi_x3.4-1986|iso-8859-1
Arabic|iso-8859-6
Ascii|iso-8859-1
ASMO-708
Big5
chinese|gb2312
cn-gb|gb2312
cp1256|windows-1256
Cp367
CharSet ExampleUsing UTF8 encoding (internationalized encoding)Use Chinese gb2312 encoding The following coding methods, such as: Chinese GBK, Traditional Chinese Big5, Japanese euc-jp, Korean euc-kr, each language encoding is different, so need to
Previous wordsHTTP messages can host content in any language, as if it could host images, movies, or any type of MEDIA. For http, The entity body is just a container for binary Information. In order to support international content, the server needs
Differences between contenttype, charset, and pageencoding
========================================================= ==================
The contenttype attribute specifies the HTTP content type of the response. If contenttype is not specified, the
Previous wordsHTTP messages can host content in any language, as if it could host images, movies, or any type of media. For HTTP, the entity body is just a container for binary information. In order to support international content, the server needs
The GetBytes () method of the string is to get a string of byte arrays, which is well known. However, it is important to note that this method returns a byte array of the operating system's default encoding format. If you do not take this into
Tomcat's default encoding settings and causes of garbled characters
Http://www.linuxso.com/architecture/20099.html
Generation of garbled charactersFor example, the Chinese character "medium" is encoded with a UTF-8 to get a 3 byte value % E4 % B8 %
Http://hi.baidu.com/netwrom/blog/item/8885f31ef0d09ae7e1fe0b1c.html
On many UNIX-like platforms, there is an iconv tool that can be used to convert character encoding. For common text files, the file command can be used to detect the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.