Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 507 Bytes

encoding.md

File metadata and controls

25 lines (13 loc) · 507 Bytes

Encoding

ASCII charset

128 characters

#encoding

Difference encoding/charset

Charset: set of characters to be used (e.g. ASCII 128 characters)

Encoding: translation of a list of characters in binary

Encoding is used because for all charset we can't guarantee 1 character = 1 byte

Example: UTF-8 to encode Unicode characters using from 1 byte (english) up to 6 bytes

#encoding

Unicode charset

Superset of ASCII with 2^21 characters

#encoding