diff options
Diffstat (limited to 'ext/soap/php_http.c')
| -rw-r--r-- | ext/soap/php_http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index b88c17b013..6032fa0cb4 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -632,7 +632,7 @@ try_again: char *res; int res_len; - zend_convert_from_unicode(UG(utf8_conv), &res, &res_len, key.u, key_len-1, &status); + zend_unicode_to_string_ex(UG(utf8_conv), &res, &res_len, key.u, key_len-1, &status); smart_str_appendl(&soap_headers, res, res_len); efree(res); } @@ -644,7 +644,7 @@ try_again: char *res; int res_len; - zend_convert_from_unicode(UG(utf8_conv), &res, &res_len, Z_USTRVAL_PP(value), Z_USTRLEN_PP(value), &status); + zend_unicode_to_string_ex(UG(utf8_conv), &res, &res_len, Z_USTRVAL_PP(value), Z_USTRLEN_PP(value), &status); smart_str_appendl(&soap_headers, res, res_len); efree(res); } |
