summaryrefslogtreecommitdiff
path: root/ext/simplexml/simplexml.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/simplexml/simplexml.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/simplexml/simplexml.c')
-rw-r--r--ext/simplexml/simplexml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index 4278bd1113..680c066442 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -2080,7 +2080,7 @@ static int php_sxe_iterator_current_key(zend_object_iterator *iter, zstr *str_ke
int u_len;
namelen = xmlStrlen(curnode->name);
- zend_convert_to_unicode(ZEND_U_CONVERTER(UG(runtime_encoding_conv)), &str_key->u, &u_len, (char*)curnode->name, namelen, &status);
+ zend_string_to_unicode_ex(ZEND_U_CONVERTER(UG(runtime_encoding_conv)), &str_key->u, &u_len, (char*)curnode->name, namelen, &status);
*str_key_len = u_len + 1;
return HASH_KEY_IS_UNICODE;
} else {