The encoding (Unicode) at the beginning of PHP \u is turned into Chinese

time:15-05-18 forum:PHP tools and code
  http://zhenghailingjy.blog.163.com/blog... 822828949/

slash and then u and then the beginning of the code () not often seen, it is often forgotten to turn it into Chinese. How to transcode
is actually the Unicode code ~~
use json_encode () in general; the function turns the Chinese to the beginning of \u (Unicode),

[code]echo $aa = json_encode ('verifying code image height (unit)'); [/code]
> The kind of code (Unicode) is turned back, and it is worth noting that the two quotes are to be added to the format as follows:
[code]echo json_decode ('.quot; \u9a8c\u8bc1\u7801\u56fe\u7247\u9ad8\u5ea6\uff08\u5355\u4f4d\uff09.quot; '); [/code]
  • 2

prev:Power game theme wedding English couple ... next:Twenty-fifth disabled days: 39 cuckoo ch...
post comment
Notice



approved   The girl wants to donate the liver t...   The most beautiful adoptive mother i...   What's the use and use of the social...   A glimpse of the Intangible Cultural...   The couple made tea by hand in deep ...
rand   Install.php simple production   Wan net interview PHP written test   PHP automatically identifies links i...   PHP determines whether or not the us...   PHP is also 21 years old
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com