Hello :face-smile: ,
I have a application that takes xml and throws out some formatted html.
Now, I want to restrict users xml whose encoding is utf-16 due to
various reasons. How to I check if the encoding of a document is utf-16
using PHP 4. If not possible in PHP4 are there any unix “in built” utlities
like iconv / xmllint that can be used from php to check the same.
Also, I don’t want to rely on the “encoding=” that the user puts in his
xml.
It looks like you're new here. If you want to get involved, click one of these buttons!