From: anton_kar at mail dot ru
Operating system:
PHP version: 4.3.1
PHP Bug Type: DOM XML related
Bug description: set attribute
<pre>
// Simplified Chinese, national standard character set.
$doc = domxml_open_mem('<?xml version="1.0" encoding="gb2312"
?><data/>');
$root = $doc->document_element();
$node = $doc->create_element("para");
$root->append_child($node);
$node->set_attribute("name","炎工作");
echo ($root->dump_mem(true));
RESULT
<?xml version="1.0" encoding="gb2312"?>
<data>
<para name="&#28814;&#24037;&#20316;"/>
</data>
Can I set 'normal' value?
</pre>
--
Edit bug report at http://bugs.php.net/?id=23856&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23856&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23856&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23856&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23856&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23856&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23856&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23856&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23856&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23856&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23856&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23856&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23856&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23856&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23856&r=gnused