description:
When using Chinese characters in the URL and file names, IIS report 404 errors, finds the page, checks the program directory structure, and found everything.
Solution:
Method 1: regedt32.exe1hklm / system / currentcontrolset / services / inetinfo / parameters / favordbcs = 0. 2 Restart the computer. Method 2: Control in the program
'
Convert double-byte characters as legitimate URL transport strings
FUNCTION
Geturlencodel (Byval URL)
DIM
I, Code geturlencodel
=
""
IF
TRIM
(URL)
=
""
THEN
exit
FUNCTION
for
i
=
1
TO
Len
(URL) CODE
=
ASC
(
MID
(URL, I,
1
))
IF
code
<
0
THEN
code
=
code
65536
IF
code
>
255
THEN
Geturlencodel
=
Geturlencodel
&
"
%
"
&
Left
(
HEX
(Code),
2
)
&
"
%
"
&
Right
(
HEX
(Code),
2
)
Else
Geturlencodel
=
Geturlencodel
&
MID
(URL, I,
1
)
end
IF
NEXT
end
FUNCTION
Method 3: IE-Internet Options - Advanced - Remove "Send" ON UTF-8 mode "option.
Description:
It is best to use method one by ordering the determination of the method.