This issue has been discussed many times, and it is indeed Ms's big bug that appears on the Far East language version of IIS. You have five choices besides cursing the Turtles:
1. Swap with other Web servers, such as Apache. [strongly recommend this method]
2. Do not use Chinese to do file names, you can use pinyin to replace. Recommended
3. Mixed file names in both Chinese and English (supposedly avoid bugs but not fully tested and not guaranteed to be properly accessed in all cases) [not recommended]
4. Such as Ms out of the patch [no hope, do not know how long, also did not see the patch]
5. Force all users to use only browsers that send URLs directly in local Chinese encoding [You wait to be complained by the user]
In fact, the solution is simple:
Modify the Registration Form
Local machine-> system->currentcontrolset->services->inetinfo->
Paramters->favordbcs changed from 1 to 0, restart IIS
It works, and my analysis is:
The far-east version of IIS, because localized win2k are native coded such as GBK or Shift-jis or Big5, are both double-byte hybrid encodings.
Favordbcs's name is estimated to be "double-byte coding habits." Ms may be an intelligent algorithm for double-byte coding, or a higher recognition priority.
Unfortunately Ms may have some bug estimates that cause some utf-8 encoding and local double-byte encoding to conflict, away from some people saying it would discard a byte.
I was going to do a complete test, but now that I have this workaround, I don't have to bother.
The problem is, this method is certainly only workaround, and Microsoft must have known, incredibly do not publish, on the MS site can not search!
============
' Converts a two-byte character to a valid URL transmission string
Copy Code code as follows:
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
Test passed.
IIS cannot download Chinese rar files
Recently found that IIS can not download the Chinese name of the file, feel very strange.
Version: WINDOWS2003SERVER+IIS6
It should be no problem.
Online check, said:
Open the registry in the run: Desktop left Corner "start" menu, run, enter "regedit", 98 version is "Regedit32", expand the following directory, hkey_local_machine\system\currentcontrolset\ Services\inetinfo\parameters\
Favordbcs the value to "0" if there is no FAVORDBCS right click New [string value]
or run the following reg file directly
Copy Code code as follows:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InetInfo\Parameters]
"Favordbcs" = "0"
Then restart IIS.
IIS can not download rar files, how to solve this problem?
One, double-click IIS Manager--idc (local computer)--web service extension
Second, right-click Web Service Extensions--open the Include file
Third, Setup completes, restart IIS