在字元編碼術語中,碼位或稱編碼位置[1],即英文的code point或code position,是組成碼空間(或頁碼)的數值[2]。 例如,ASCII碼包含128個碼位,範圍是016進制到7F16進制,擴充ASCII碼包含256個碼位,範圍是016進制到FF16進制,而Unicode包含1,114,112個碼位,範圍是016進制到10FFFF16進制。Unicode碼空間劃分為17個Unicode字元平面(基本多文種平面,16個輔助平面),每個平面有65,536(= 216)個碼位。因此Unicode碼空間總計是17 × 65,536 = 1,114,112.
定義
碼位的抽象意涵, 不同於下列概念:
參考
Wikiwand in your browser!
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.