1diff -Nur wget-1.13.4.org/src/url.c wget-1.13.4/src/url.c 2--- wget-1.13.4.org/src/url.c 2011-01-01 20:12:35.000000000 +0800 3+++ wget-1.13.4/src/url.c 2013-01-17 11:55:10.308451064 +0800 4@@ -1298,8 +1298,9 @@ 5 }; 6 7 #define FILE_CHAR_TEST(c, mask) \ 8- ((opt.restrict_files_nonascii && !c_isascii ((unsigned char)(c))) || \ 9- (filechr_table[(unsigned char)(c)] & (mask))) 10+ (((opt.restrict_files_nonascii && !c_isascii ((unsigned char)(c))) || \ 11+ (filechr_table[(unsigned char)(c)] & (mask)))\ 12+ && !((c|0x0fffffff) == 0xffffffff)) /*do not change the chinese character*/ 13 14 /* Shorthands for the table: */ 15 #define U filechr_not_unix 16