]> granicus.if.org Git - php/commitdiff
Let caller issue error.
authorAndrei Zmievski <andrei@php.net>
Mon, 8 Jan 2007 18:01:16 +0000 (18:01 +0000)
committerAndrei Zmievski <andrei@php.net>
Mon, 8 Jan 2007 18:01:16 +0000 (18:01 +0000)
Zend/zend_unicode.c

index 15649a28638637cb2a1ce9d7ab1a6184295bf038..b4f0bcda37fe1ff8c47670e9c6dd508e3b233778 100644 (file)
@@ -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));
-       }
 }
 /* }}} */