Browse Source

Let caller issue error.

migration/RELEASE_1_0_0
Andrei Zmievski 20 years ago
parent
commit
c1c23f8f42
  1. 5
      Zend/zend_unicode.c

5
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));
}
}
/* }}} */

Loading…
Cancel
Save