Very detailed very good, turn around to study:Reprinted from: http://www.cnblogs.com/lidabo/archive/2013/11/27/3446518.html1, character encoding, internal code, incidentally introduced Chinese character codingCharacters must be encoded before they
Reference:Http://www.ruanyifeng.com/blog/2007/10/ascii_unicode_and_utf-8.htmlHttp://www.cnblogs.com/mjgforever/archive/2008/02/27/1083135.html1. ASCII codeWe know that inside the computer, all the information is ultimately represented as a binary
Unicode, ucs-2, ucs-4, UTF-16, utf-32, UTF-8
Unicode details
Copyright Notice: It can be reproduced at will, but the original author charlee and original link http://tech.idv2.com/2008/02/21/unicode-intro/must be indicated in a timely
Coding knowledge Summary
The earliest encoding is ASCII, which is only 1-127, expressed in one byte. And the first bit of this byte is 0.Later, many countries found that ASCII characters are too few. For example, Chinese characters cannot
Reference Address: http://www.cnblogs.com/kingcat/archive/2012/10/16/2726334.htmlIn Java, char types describe a unit of code with UTF-16 encodingWhy Unicode is requiredWe know that the computer is actually very stupid, it only know 0101 such a
Unicode
We know that the computer is actually stupid. It only knows strings like 0101. Of course, we certainly feel dizzy when we look at the 01 string, so many times we simply use decimal to describe it, hexadecimal format, which is octal. in fact,
UTF-8 is a unicode implementation method, that is, its byte structure has special requirements, so we say a Chinese character range is 0x4e00 to 0x9fa5, refers to the Unicode value, as for UTF-8 encoding, it is organized by three bytes, so we can
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
UTF-8 is a unicode implementation method, that is, its byte structure has special requirements, so we say a Chinese character range is 0x4e00 to 0x9fa5, refers to the Unicode value, as for UTF-8 encoding, it is organized by three bytes, so we can
Why Unicode is requiredWe know that the computer is actually very stupid, it only know 0101 such a string, of course, we look at such a 01 string when it will be more dizzy, so many times in order to describe the simple are in decimal, hexadecimal,
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.