cvs: php4 /ext/mbstring mbfilter.c
| From: | Den V. Tsopa | Date: | Sat, 24 Aug 2002 09:48:01 +0000 |
| Subject: | cvs: php4 /ext/mbstring mbfilter.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13632@lists.php.net to get a copy of this message | ||
dets Sat Aug 24 05:48:01 2002 EDT
Modified files:
/php4/ext/mbstring mbfilter.c
Log:
convert encoding to cp1251,cp866 was not working, fixed
Index: php4/ext/mbstring/mbfilter.c
diff -u php4/ext/mbstring/mbfilter.c:1.40 php4/ext/mbstring/mbfilter.c:1.41
--- php4/ext/mbstring/mbfilter.c:1.40 Tue Aug 20 06:00:28 2002
+++ php4/ext/mbstring/mbfilter.c Sat Aug 24 05:48:00 2002
@@ -79,7 +79,7 @@
*
*/
-/* $Id: mbfilter.c,v 1.40 2002/08/20 10:00:28 helly Exp $ */
+/* $Id: mbfilter.c,v 1.41 2002/08/24 09:48:00 dets Exp $ */
#ifdef HAVE_CONFIG_H
@@ -1887,8 +1887,8 @@
#if defined(HAVE_MBSTR_RU)
static const struct mbfl_convert_vtbl vtbl_wchar_cp1251 = {
- mbfl_no_encoding_cp1251,
mbfl_no_encoding_wchar,
+ mbfl_no_encoding_cp1251,
mbfl_filt_conv_common_ctor,
mbfl_filt_conv_common_dtor,
mbfl_filt_conv_wchar_cp1251,
@@ -1903,8 +1903,8 @@
mbfl_filt_conv_common_flush };
static const struct mbfl_convert_vtbl vtbl_wchar_cp866 = {
- mbfl_no_encoding_cp866,
mbfl_no_encoding_wchar,
+ mbfl_no_encoding_cp866,
mbfl_filt_conv_common_ctor,
mbfl_filt_conv_common_dtor,
mbfl_filt_conv_wchar_cp866,
@@ -1925,7 +1925,6 @@
mbfl_filt_conv_common_dtor,
mbfl_filt_conv_wchar_koi8r,
mbfl_filt_conv_common_flush };
-
static const struct mbfl_convert_vtbl vtbl_koi8r_wchar = {
mbfl_no_encoding_koi8r,