Need to open the link of the Chinese file name, for example
http://www.abc.com/ Site Description / File 1.txt
Use the English name file to open:
Http://www.abc.com/zHandianshuoming/wenjian1.txt
But use
http://www.abc.com/ Site Description / File 1.txt
I can't access it, how to solve it?
-------------------------------------------------- -------------
Use this function to conversion:
Function Geturlencodel (Byval URL) 'Chinese File Name Conversion
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, 2) & "%" & Right (HEX (Code), 2)
Else
Geturlencodel = Geturlencodel & Mid (URL, I, 1)
END IF
NEXT
END FUNCTION
Or refer to this article:
http://blog.mvpcn.net/ceocio/Articles/2622.aspx