git-svn: trunk@2750
Tomasz Kojm authored on 2007/02/14 21:16:33... | ... |
@@ -940,7 +940,7 @@ unsigned char* encoding_norm_readline(struct entity_conv* conv, FILE* stream_in, |
940 | 940 |
cli_dbgmsg("Skipping null character in html stream\n"); |
941 | 941 |
} |
942 | 942 |
} |
943 |
- else if((u16 < 0x80 && u16 >= 0x20) || isspace(u16)) { |
|
943 |
+ else if((u16 < 0x80 && u16 >= 0x20) || (u16 <= 0xff && isspace(u16))) { |
|
944 | 944 |
if(norm >= norm_end) |
945 | 945 |
break; |
946 | 946 |
if((unsigned char)u16 ==0) |