From c1c23f8f42f50627caeda44ac4dc0fd0a65244c8 Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Mon, 8 Jan 2007 18:01:16 +0000 Subject: [PATCH] Let caller issue error. --- Zend/zend_unicode.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Zend/zend_unicode.c b/Zend/zend_unicode.c index 15649a2863..b4f0bcda37 100644 --- a/Zend/zend_unicode.c +++ b/Zend/zend_unicode.c @@ -365,11 +365,6 @@ ZEND_API void zend_convert_encodings(UConverter *target_conv, UConverter *source memset(buffer + converted, 0, null_size); /* NULL-terminate the output string */ *target = buffer; *target_len = converted; - - /* Report the conversion error */ - if (U_FAILURE(*status)) { - zend_error(E_NOTICE, "Error converting from codepage string to Unicode: %s", u_errorName(*status)); - } } /* }}} */ -- 2.50.1