override charset for zend_parse* functions
revert modifier changes for DOM