unicodecharacter-encoding

What is the difference between charsets and character encoding


What is the difference between charsets and character encoding? When i say i am using utf-8 encoding then what will be my charset? Does it take unicode as charset by default?


Solution

  • Charset is synonym for character encoding

    Default encoding depends on the operating system and locale.

    EDIT http://www.w3.org/TR/REC-xml/#sec-TextDecl

    http://www.w3.org/TR/REC-xml/#NT-EncodingDecl