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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php