Php Chinese network (www.php.cn) provides the most comprehensive basic tutorial on programming technology, introducing HTML, CSS, Javascript, Python, Java, Ruby, C, PHP, basic knowledge of MySQL and other programming languages. At the same time, this site also provides a large number of online instances, through which you can better learn programming... Reply content: Success
- GB18030: FC5C
- UTF-8: E9 BB 92.
- UTF-16: 9ED2
Do you know what 5C represents in ASCII? Special symbol '\'!
In C-language printf functions, \ is an escape character. due to a PHP bug, the character string is truncated because it cannot be correctly processed.
The solution is either to raise a bug, or to directly use Unicode without using GB18030 encoding. I also encountered this word in python before, so I am stuck.
However, I have php7.0.6 (PHP 7.0.6 (cli) (built: Apr 28 2016 14:11:34) (ETS) and 5.6.7 (PHP 5.6.7 (cli) (built: Mar 19 2015 15:09:32 )) this problem was not reproduced in all tests for 10 times. The system server2012R2, Patch has reached the latest