Code points are commonly used in
character encoding, where a code point is a numerical value that maps to a specific
character. In character encoding code points usually represent a single
grapheme—usually a letter, digit, punctuation mark, or
whitespace—but sometimes represent symbols,
control characters, or formatting. The set of all possible code points within a given encoding/character set make up that encoding's
codespace. For example, the character encoding scheme
ASCII comprises 128 code points in the range 0
hex to 7Fhex,
Extended ASCII comprises 256 code points in the range 0hex to FFhex, and
Unicode comprises code points in the range 0hex to 10FFFFhex. The Unicode code space is divided into seventeen
planes (the basic multilingual plane, and 16 supplementary planes), each with (= 216) code points. Thus the total size of the Unicode code space is 17 × = . == In Unicode ==