Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 566 Bytes

encoding.md

File metadata and controls

36 lines (20 loc) · 566 Bytes
noatcards isdraft
true
false

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