characters

文字・符号位置 (ECMAScript)

ES3 における定義

[1]

Throughout the rest of this document, the phrase “code point” and the word “character” will be used to refer to a 16-bit unsigned value used to represent a single 16-bit unit of UTF-16 text.

関連

[2] 一般的な「符号位置」や「文字」の定義とは異なり、 ES3 では UTF-16 の「16ビット符号単位」を「符号位置」 = 「文字」と呼んでいます。 “文字”の内部表現列中の単位を「文字」と呼ぶという意味では C の「文字」 の定義と似ています。 Unicode における「文字」を表す際には ES3 では「Unicode文字」という語が用いられています。同様に Unicode における「符号位置」に近い意味には「Unicodeスカラー値」の語が当てられています。