diff options
author | Rui Hirokawa <hirokawa@php.net> | 2005-11-05 04:49:57 +0000 |
---|---|---|
committer | Rui Hirokawa <hirokawa@php.net> | 2005-11-05 04:49:57 +0000 |
commit | 00dfb7dc142da4651ca5f8350960dfcdf0a58ef3 (patch) | |
tree | 5105594d8fd3e0f03fc0ec4fbd2dd4773a3366eb | |
parent | 00df9b67cedaa77940da12829f054ac953a8c2c6 (diff) | |
download | php-git-00dfb7dc142da4651ca5f8350960dfcdf0a58ef3.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 */ |