Home >  Term: code unit
code unit

The unit of encoded text for processing and interchange. The size of the code unit varies depending on the character encoding scheme. In most character encodings, a code unit is 1 byte. Important exceptions are UTF-16 and UCS-2, which use 2-byte code units, and wide character, which uses 4 bytes.

0 0

Creator

  • Jenwhitman
  •  (Bronze) 71 points
  • 100% positive feedback
© 2024 CSOFT International, Ltd.