note 91397 rejected from function.simplexml-element-asXML by danbrown

From: Date: Tue, 09 Jun 2009 19:33:55 +0000
Subject: note 91397 rejected from function.simplexml-element-asXML by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-156642@lists.php.net to get a copy of this message
Note Submitter: arruzk at gmail dot com ---- if I use the Cyrillic (cp1251) in the code, I get an error SimpleXMLElement::asXML() [function.SimpleXMLElement-asXML]: output conversion failed due to conv error, bytes 0xEF 0xF0 0xE8 0xE2 in $xml = simplexml_load_string($way); $tr=$xml->addChild("tr"); for($i=0;$i<count($arraytoxml);$i++){ echo $arraytoxml[$i]; $tr->addChild("td",$arraytoxml[$i]); } $xml->asXML();

« previous php.notes (#156642) next »