How the encodings work? Which encodings can be used in XML?
To avoid errors
XML encoding while using PHP
I heard about
Character Encodings:
Source Encodings:
Target Encodings:
May i know what is the Difference between them?
How the encodings work? Which encodings can be used in XML?
To avoid errors
XML encoding while using PHP
I heard about
Character Encodings:
Source Encodings:
Target Encodings:
May i know what is the Difference between them?
I think you can use any ISO combination in your xml declaration but the ones you usually see is UTF-8 and iso-8859-1 (for europe). Usually UTF-8 is a good choice unless you have lot's of strange characters
EDIT: I think you're confusing something like an XSLT transformation/parsing with XML instead of just the actual XML document.
An XML document has a character encoding. That is declared through the xml declaration. When you parse/transform XML you can many times separately define what the source encoding is and what the encoding the output should have (the target encoding)