It is well known that in PHP get is not the delivery of the Chinese language is generally garbled, but sometimes we need to pass the Chinese, take help the home of the recent project "Share/Collection", the author of the PHP program encountered such problems, the acquisition of the Chinese title was passed to Sina collection, It becomes garbled.
How to solve this problem? We:
Normal notation (garbled):
Copy to ClipboardWhat to refer to: [www.bkjia.com]@ $title _this = $_get["title"];
Change to the following code (normal):
Copy to ClipboardWhat to refer to: [www.bkjia.com]@ $title _this = iconv ("UTF-8", "gb2312", $_get["title"]);
The problem is solved, do not forget to help the home of the new Project-Share & collection to see it. Http://www.bkjia.com/res/share/
http://www.bkjia.com/PHPjc/364440.html www.bkjia.com true http://www.bkjia.com/PHPjc/364440.html techarticle It is well known that in PHP get is not the delivery of the Chinese language is generally garbled, but sometimes we need to pass the Chinese, take the Fire network recent project "Share/collection" To say it ...