summaryrefslogtreecommitdiff
path: root/ext/soap/php_http.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-08-08 16:59:11 +0000
committerAntony Dovgal <tony2001@php.net>2006-08-08 16:59:11 +0000
commitdbe20923139afd2673e35ab3fbdc6fd0b99c81bf (patch)
tree2cfcbcb1ecd50c01c01df4dd8ffb9f3748c6fab7 /ext/soap/php_http.c
parentf5715ee86f241510cf51c9ed17aa456eb19d1ac2 (diff)
downloadphp-git-dbe20923139afd2673e35ab3fbdc6fd0b99c81bf.tar.gz
implement zend_unicode_to_string() and zend_string_to_unicode()
part #2 (of 2)
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r--ext/soap/php_http.c4
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);
}