Text - UCS2

Table of Contents

1 - About

UCS2 is an Unicode character set that is a subset of UTF-16 with the most common characters

The designers of Unicode historically miscalculated the total of code points and originally thought that Unicode would need no more than <math>2^{16}</math> code points. The original standard UCS-2 16-bit encoding was born.

UCS-2 is made up of individual 16-bit code unit (number), each of which corresponded to a single Unicode code point.

Indexing into a string is a cheap, constant-time operation: Accessing the nth code point of a string simply selects from the nth 16-bit element of the array.

data/type/text/ucs2.txt ยท Last modified: 2017/09/13 16:11 by gerardnico