1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 17:38:14 +02:00

fixed garbled multibyte characters.

This commit is contained in:
Rui Hirokawa
2005-11-05 04:47:29 +00:00
parent 22ae5cdfd0
commit 02e44183bb
+1 -1
View File
@@ -1990,7 +1990,7 @@ mime_header_encoder_collector(int c, void *data)
break;
default: /* ASCII */
if (!qp_table[(c & 0xff)]) { /* ordinary characters */
if (c <= 0x00ff && !qp_table[(c & 0xff)]) { /* ordinary characters */
mbfl_memory_device_output(c, &pe->tmpdev);
pe->status1 = 1;
} else if (pe->status1 == 0 && c == 0x20) { /* repeat SPACE */