[Conversion] a Chinese character of UTF-8 occupies three bytes of length and UTF-8 bytes.
The answer from Baidu is more vivid and impressive, so I will take a note.
Original link https://zhidao.baidu.com/question/1047887004693001899.html
Zhi Hu also
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
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
Google's Sitemap service requires that all site maps published must be encoded in Unicode UTF-8. Google does not even allow other Unicode encodings (such as UTF-16), not to mention non-Unicode encodings such as ISO-8859-1. Technically, this means
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
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
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,
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,
Original address:http://www.cnblogs.com/kingcat/archive/2012/10/16/2726334.html 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
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.