diff options
| author | Antony Dovgal <tony2001@php.net> | 2006-08-08 16:59:11 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2006-08-08 16:59:11 +0000 |
| commit | dbe20923139afd2673e35ab3fbdc6fd0b99c81bf (patch) | |
| tree | 2cfcbcb1ecd50c01c01df4dd8ffb9f3748c6fab7 /ext/soap/php_encoding.c | |
| parent | f5715ee86f241510cf51c9ed17aa456eb19d1ac2 (diff) | |
| download | php-git-dbe20923139afd2673e35ab3fbdc6fd0b99c81bf.tar.gz | |
implement zend_unicode_to_string() and zend_string_to_unicode()
part #2 (of 2)
Diffstat (limited to 'ext/soap/php_encoding.c')
| -rw-r--r-- | ext/soap/php_encoding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c index 99b70139b4..91bf447384 100644 --- a/ext/soap/php_encoding.c +++ b/ext/soap/php_encoding.c @@ -3170,7 +3170,7 @@ static encodePtr get_array_type(xmlNodePtr node, zval *array, smart_str *type TS ALLOC_INIT_ZVAL(tmp); Z_TYPE_P(tmp) = IS_STRING; - zend_convert_from_unicode(UG(utf8_conv), &Z_STRVAL_P(tmp), &Z_STRLEN_P(tmp), Z_USTRVAL_P(cur_stype), Z_USTRLEN_P(cur_stype), &status); + zend_unicode_to_string_ex(UG(utf8_conv), &Z_STRVAL_P(tmp), &Z_STRLEN_P(tmp), Z_USTRVAL_P(cur_stype), Z_USTRLEN_P(cur_stype), &status); cur_stype = tmp; } else { cur_stype->refcount++; @@ -3183,7 +3183,7 @@ static encodePtr get_array_type(xmlNodePtr node, zval *array, smart_str *type TS ALLOC_INIT_ZVAL(tmp); Z_TYPE_P(tmp) = IS_STRING; - zend_convert_from_unicode(UG(utf8_conv), &Z_STRVAL_P(tmp), &Z_STRLEN_P(tmp), Z_USTRVAL_P(cur_ns), Z_USTRLEN_P(cur_ns), &status); + zend_unicode_to_string_ex(UG(utf8_conv), &Z_STRVAL_P(tmp), &Z_STRLEN_P(tmp), Z_USTRVAL_P(cur_ns), Z_USTRLEN_P(cur_ns), &status); cur_ns = tmp; } else { cur_ns->refcount++; |
