Character Encoding - Code Unit

Code Unit

The code unit, is a unit used for character encoding.

  • With US-ASCII, code unit is 7 bits.
  • With UTF-8, code unit is 8 bits.
  • With EBCDIC, code unit is 8 bits.
  • With UTF-16, code unit is 16 bits.
  • With UTF-32, code unit is 32 bits.

Then the encoding associates a meaning with each of some (or, usually, all) possible values for either a single code unit or a sequence of code units.

Read more about this topic:  Character Encoding

Famous quotes containing the words code and/or unit:

    Motion or change, and identity or rest, are the first and second secrets of nature: Motion and Rest. The whole code of her laws may be written on the thumbnail, or the signet of a ring.
    Ralph Waldo Emerson (1803–1882)

    During the Suffragette revolt of 1913 I ... [urged] that what was needed was not the vote, but a constitutional amendment enacting that all representative bodies shall consist of women and men in equal numbers, whether elected or nominated or coopted or registered or picked up in the street like a coroner’s jury. In the case of elected bodies the only way of effecting this is by the Coupled Vote. The representative unit must not be a man or a woman but a man and a woman.
    George Bernard Shaw (1856–1950)