Chapter 1: AboutPHPString 6
1.1 String Syntax 6
1.1.1 How to define strings in PHP 6
1.1.2 The role of double quotes 6
1.1.3 Conversion of strings and other types 6
1.1.4 Get and modify characters in strings 6
1.2 String Principle 6
1.2.1 How are strings stored at the bottom level? 6
1.2.2 String encoding analysis 6
1.2.3 About "binary" security 6
1.3 Character encoding method 6
1.3.1 Bits and Bytes 6
1.3.2 ASCIIEncoding 6
1.3.3 UnicodeEncoding 6
1.3.4 XML uses Unicode to represent Chinese characters 6
1.4 UTF-8 and GBK encoding principles 6
1.4.1 UTF-8 encoding definition 6
1.4.2 UTF-8 encoding rules 6
1.4.3 The difference between with BOM and without BOM 6
1.4.4 UTF-8 takes up 6 spaces
1.4.5 Conversion between Unicode and UTF-8 6
1.4.6 What’s up with signed UTF-8 6
1.4.7 GB2312 and GBK encoding source 6
1.4.8 About mbstring and iconv 6