diff options
| author | Moriyoshi Koizumi <moriyoshi@php.net> | 2009-02-02 04:49:48 +0000 |
|---|---|---|
| committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2009-02-02 04:49:48 +0000 |
| commit | abe02d6b3d44ca1a4a31a99435576fe67066399c (patch) | |
| tree | cb8b02cf72399a0d931a1d322d349e1ac365a592 | |
| parent | 385ef35b26d7e1d168068aa98d8bb6f3757d930b (diff) | |
| download | php-git-abe02d6b3d44ca1a4a31a99435576fe67066399c.tar.gz | |
- Fix bug #46843 (CP936 euro symbol is not converted properly)
| -rw-r--r-- | ext/mbstring/libmbfl/filters/mbfilter_cp936.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/libmbfl/filters/mbfilter_cp936.c b/ext/mbstring/libmbfl/filters/mbfilter_cp936.c index 9cdd0520e8..561dc3003b 100644 --- a/ext/mbstring/libmbfl/filters/mbfilter_cp936.c +++ b/ext/mbstring/libmbfl/filters/mbfilter_cp936.c @@ -192,7 +192,7 @@ mbfl_filt_conv_wchar_cp936(int c, mbfl_convert_filter *filter) } } if (s >= 0) { - if (s < 0x80) { /* latin */ + if (s <= 0x80) { /* latin */ CK((*filter->output_function)(s, filter->data)); } else { CK((*filter->output_function)((s >> 8) & 0xff, filter->data)); |
