JavaScript Unicode_js Guide
JavaScript Unicode support: UTF-16 encoding, code points, escape sequences, and international text handling. The guide walks through Unicode in JS. `"Hello".length` — code units (not always = character count). `[...str].length` — correct character count (code points). `😀` — code point escape. `é` — hex escape (BMP). `str.codePointAt(0)` — full code point (vs charCodeAt limited to 16-bit). `String.fromCodePoint(n)` — create from code point. Surrogate pairs: emoji and rare characters use two code units. The guide is organized into 1 sections that build on each other, each pairing a prose explanation with runnable code. Related guides: Arrays, Strings, Numbers, Math, Date. This is one of 145 JavaScript guides on JS Reference — see the full list on the guides page. Practice what you learn in the JavaScript playground, and look up any unfamiliar term in the JavaScript glossary.