cvs: php4 /ext/mbstring mbfilter.c

From: Date: Tue, 28 Aug 2001 18:26:47 +0000
Subject: cvs: php4 /ext/mbstring mbfilter.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7108@lists.php.net to get a copy of this message
wez Tue Aug 28 14:26:47 2001 EDT Modified files: /php4/ext/mbstring mbfilter.c Log: fix cp1252 -> wchar conversion Index: php4/ext/mbstring/mbfilter.c diff -u php4/ext/mbstring/mbfilter.c:1.13 php4/ext/mbstring/mbfilter.c:1.14 --- php4/ext/mbstring/mbfilter.c:1.13 Sat Aug 25 05:21:43 2001 +++ php4/ext/mbstring/mbfilter.c Tue Aug 28 14:26:46 2001 @@ -79,7 +79,7 @@ * */ -/* $Id: mbfilter.c,v 1.13 2001/08/25 09:21:43 wez Exp $ */ +/* $Id: mbfilter.c,v 1.14 2001/08/28 18:26:46 wez Exp $ */ #include <stdlib.h> @@ -4159,15 +4159,8 @@ if (c >= 0x80 && c < 0xa0) { s = cp1252_ucs_table[c - 0x80]; - if (s <= 0) { - s = c; - s &= MBFL_WCSPLANE_MASK; - s |= MBFL_WCSPLANE_8859_1; - } } else { s = c; - s &= MBFL_WCSGROUP_MASK; - s |= MBFL_WCSGROUP_THROUGH; } CK((*filter->output_function)(s, filter->data));

« previous php.cvs (#7108) next »