XML encoding variable simpleXML on Linux
| From: | Larry Brown | Date: | Fri, 22 Feb 2008 15:52:23 +0000 |
| Subject: | XML encoding variable simpleXML on Linux | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-269872@lists.php.net to get a copy of this message | ||
I am using PHP on Linux to communicate with an XML peer. I pull and
push documents from and to their server. On the console I use UTF-8 as
far as I can tell. When I send these documents should my leading tag
read:
<?xml versionnn="1.0" encoding="UTF-8"?>
or is the encoding done by PHP and how do I know what it is encoded to?
TIA
Larry