Lines Matching refs:encoding
2 DOMDocument::$encoding - read/write tests (dom_document_encoding_read/dom_document_encoding_write)
22 echo "Empty Encoding Read: '{$dom->encoding}'\n";
25 $ret = $dom->encoding = 'NYPHP DOMinatrix';
26 echo "Adding invalid encoding: $ret\n";
31 $ret = $dom->encoding = 'ISO-8859-1';
32 echo "Adding ISO-8859-1 encoding: $ret\n";
33 echo "ISO-8859-1 Encoding Read: {$dom->encoding}\n";
35 $ret = $dom->encoding = 'UTF-8';
36 echo "Adding UTF-8 encoding: $ret\n";
37 echo "UTF-8 Encoding Read: {$dom->encoding}\n";
39 $ret = $dom->encoding = 'UTF-16';
40 echo "Adding UTF-16 encoding: $ret\n";
41 echo "UTF-16 Encoding Read: {$dom->encoding}\n";
47 Invalid document encoding
48 Adding ISO-8859-1 encoding: ISO-8859-1
50 Adding UTF-8 encoding: UTF-8
52 Adding UTF-16 encoding: UTF-16