Document directory
ASCII
GB2312
GBK
UTF Encoding
Setlocale
Miserable programmer
ASCII
Table language English and Western European language.
ASCII is represented by 7 characters, which can represent 128 characters. Its Extension uses 8
UTF-8 contains the characters that all countries in the world need to use, is international code, strong universality. UTF-8 encoded text can be displayed on browsers that support UTF8 character sets in countries. For example, if the UTF8 code, the
html5 title HTML5 's content! HelloI wrote it in notepad, after the save on the Web page ran unexpectedly garbled. Replace with GB2312 to display Chinese correctly.html5 title HTML5 's content! HelloBut after all, the standards are Different. Still
DOCTYPE HTML>HTML>Head>MetaCharSet= "UTF-8">title>HTML5 's titletitle>Head>Body>P>HTML5 's content! HelloP>Body>HTML>I wrote it in Notepad, after the save on the Web page ran unexpectedly garbled. Replace with GB2312 to display Chinese
In the previous log (link), we discussed the Utf-8 encoding and GBK encoding conversion between the garbled problem, this article we discuss the Unicode (UTF-16 encoding) and GBK encoding conversion between the garbled problem. In the notepad that
Unicode, GBK, UTF-8 differences in simple terms, Unicode, GBK and Big Five code is the encoded value, and UTF-8, uft-16 and so on is the representation of this value. the preceding three types of codes are compatible. The values of the three codes
Http://www.cnblogs.com/cy163/archive/2007/05/31/766886.htmlUnicode,gbk,utf-8 differencesIn simple terms, UNICODE,GBK and five yards are encoded values, and utf-8,uft-16 is the expression of this value. And the preceding three kinds of coding is a
The problem of character encoding seems to be very small, often overlooked by technical staff, but it can easily lead to some puzzling problems. Here is a summary of the character encoding of some of the popular knowledge, I hope to be helpful to
Unicode encoding, Base: It assigns a unique integer to each character unit of all word systems in the world, which is between 0~1114111 and is called a code point in Unicode terms. and other character encodings are almost no different (for example,
Is the existing website GB2312 encoded? See the advantages of UTF-8 coding a little heart? This article is to teach you how to change the website from GB2312 to UTF-8.GB2312 is a simplified Chinese code. Therefore, when an article/webpage contains
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.