The problem of Chinese garbled code is solved by pseudo static method

  • 2020-05-09 19:37:38
  • OfStack

When using pseudo-static on your website, you can add [QSA,NU,PT,L] to your pseudo-static page
Such as the

RewriteRule ^(.*)$ index.php?$1 [L]

to

RewriteRule ^(.*)$ index.php?$1 [QSA,NU,PT,L]

Try it out.

NU is the main this, plus will not mess up the code, but directly displayed in Chinese.

Related articles: