Today in the process of a tag page. Because of the need to use pseudo static functionality. In the rewrite,
The reason is that the Chinese Unicode information will be isapi_rewrite into uft-8 format encoding we only need to add [NU] parameters to the corresponding pseudo static rules to prohibit the encoding conversion.
For example
The code is as follows |
Copy Code |
Rewriterule ^/shop-(. *). html$/shop.php?nick=$1 [NU] |
This will support the Chinese language. Write it down to facilitate later use.
Note: The above methods are useful under IIS. You can ignore it under Apache.
method Two, this method can be used for IIS pseudo static and Apache pseudo static Oh, this processing is compatible with all server environments, such as
A.php?a= Cloud Habitat Community Network
This is sometimes problematic, but we can use the PHP urlencode () function to convert
A.PHP?A=URLENOCDE (' cloud-dwelling Community network ');
Then in the Accept page directly $_get[' A ' can be solved oh.