PHP and UTF-8 best practices in detail, UTF-8 Best Practices
The article "PHP string, encoding, UTF-8" describes the basic knowledge of some columns, relatively boring, now point useful-PHP string processing best practices, this article is "PHP,
Basics of UTF-8 Character Set
Brief character set history
Among all character sets, the most well-known number is the 7-bit ASCII character set. It is short for American Standards Committee for information interchange. It is designed for American
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
: This article mainly introduces the differences between UTF-8 and UTF-8 without BOM. if you are interested in the PHP Tutorial, please refer to it. BOM -- Byte Order Mark, which is a Byte Mark
There is a character named "zero width no-break space"
This article is "PHP, string, encoding, UTF-8" related knowledge of the second part. Let's begin with the conclusion that UTF-8 encoding is used in every aspect of PHP.
This article is "PHP, string, encoding, UTF-8" related knowledge of the second
Concept Let's talk about the basic concept, which includes what is Unicode, What Is UTF-8, and what is UTF-16. For a complete description of Unicode, UTF-8, and UTF-16, see Wiki (UNICODE, UTF-8, UTF-16 ). In simple terms, Unicode defines all the
Bom--byte order mark, which is the byte-order mark
There is a character called "ZERO WIDTH no-break SPACE" in the UCS encoding, and its encoding is Feff. Fffe is not a character in UCS, so it should not appear in the actual transmission. The UCS
Turn: http://www.utf.com.cn/article/s1383
These related things are not complicated, but they are very easy to tell, especially recently I have read some of theseArticleEven if it is regarded as the source of authority, conflicts often occur,
CodingA string is a data type, but a particular string is a coding problem.Because a computer can only handle numbers, if you are working with text, you must convert the text to a number before processing it. The oldest computer was designed with 8
Character encodingString encoding problem.Because a computer can only handle numbers, if you are working with text, you must convert the text to a number before processing it. The earliest computers were designed with 8Bit (bit) as a byte (byte), so
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.