Two Solutions for PHP to Solve GBK Scrambling Problem in URL

  • 2021-06-28 11:39:36
  • OfStack

In general, URL is treated with UrlEncode, urlencode(), urldecode();

Received data can also be encoded and converted by iconv ('utf-8','gb2312', $ret).

Related articles: