Text - UCS2

Data System Architecture


Universal coded character set 2 (UCS2) (aka ucs 2) 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.

Discover More
Javascript - String

The in javascript. A string in JavaScript is encoded with the ucs-2 16-bit character set. An element of a JavaScript string is therefore a 16-bit code unit. code unitscode pointssurrogate pair Strings...
Character Map 0248 00f8
Text - UTF-16 Character Set

UTF-16 is a variant of unicode. It's variable-length encoding: Each code point in a UTF-16 encoding may require either one or two 16-bit code units. The size in memory of a string of length n varies based...
Data System Architecture
What is Unicode / Universal Coded Text Character Set (UCS)?

Unicode is a global character set that allows multilingual text to be displayed in a single application. Unicode is a acronym of Universal Coded Character Set Unicode enables the development of a single...

Share this page:
Follow us:
Task Runner