At 10:00 AM -0700 3/24/08, VamVan wrote:
I cannot do that. because Simple xml element retrieves everything in UTF8. I need to decode it to latin1 for comparison with another array.
Unless there is something here that I don't understand, there is no decoding UTF-8 to Latin1
Latin1 is a subset of UTF-8 -- what you find (characters) in Latin 1 is the same as in UTF-8.
If you have a code point (character) that lies outside of the range of Latin 1, then there is no solution.
Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php