diff options
author | Rui Hirokawa <hirokawa@php.net> | 2005-11-05 04:48:25 +0000 |
---|---|---|
committer | Rui Hirokawa <hirokawa@php.net> | 2005-11-05 04:48:25 +0000 |
commit | 6c8f889d0ac92152b08b5aa893b11ecc5b39ae8b (patch) | |
tree | f093afec3d341f127d68a17434bf54bfc3765702 | |
parent | 197648e8bddcfca2458a946d3c17c81ea2011b8e (diff) | |
download | php-git-6c8f889d0ac92152b08b5aa893b11ecc5b39ae8b.tar.gz |
MFH: fixed garbled multibyte characters.
-rw-r--r-- | ext/mbstring/libmbfl/mbfl/mbfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/libmbfl/mbfl/mbfilter.c b/ext/mbstring/libmbfl/mbfl/mbfilter.c index b99d8df8a2..0e7072fda7 100644 --- a/ext/mbstring/libmbfl/mbfl/mbfilter.c +++ b/ext/mbstring/libmbfl/mbfl/mbfilter.c @@ -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 */ |