add unicode support

update test
This commit is contained in:
Rob Richards 2006-08-04 18:11:27 +00:00
parent ae4d9f326c
commit f85e695409
17 changed files with 311 additions and 132 deletions

View file

@ -117,7 +117,7 @@ PHP_METHOD(domdocumentfragment, appendXML) {
int err;
xmlNodePtr lst;
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_documentfragment_class_entry, &data, &data_len) == FAILURE) {
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os&", &id, dom_documentfragment_class_entry, &data, &data_len, UG(utf8_conv)) == FAILURE) {
return;
}