Unicode in C++
summary
Covers concrete encoder behavior and migration choices: Unicode expands to 1,112,064 code points, UCS2 is obsolete, UTF‑32 fixes width but wastes space, UTF‑8 is variable‑width and dominant (claims 78% of top 10,000 websites and 65% of the top million), UTF‑16 uses surrogate pairs in the D800–DFFF range and needs BOM FEFF, UTF‑8 optional BOM appears as EFBBF, ICU supplies normalization, collation and regexes using ICU (UTF-16), Boost.Locale offers UTF conversions, collation levels and grapheme segmentation.
AI-written summary · about
chapters (28)
- 0:00Start
- 3:56Extended ASCH
- 4:16Code page 437
- 7:24Single-Byle Encodings
- 11:39MultiByte Encodings
- 13:08Unicode Design Goals
- 14:01Unicode 10
- 18:22Code Space Usage
- 18:58Number of Characters
- 32:14UTF-8, UTF-16, UTF-32
- 33:15UTF-8 vs. UTF-16 Text Size
- 35:10Dynamic Composition
- 36:59Unicode Code Unit Types
- 37:46Unicode String Literals
- 39:13The Amazing C++ Unicode String Type
- 42:52String Length: Number of Code Units
- 44:26Representational Equality
- 45:05Multiple Representations
- 46:55Equivalent Sequences
- 48:50Ordering
- 50:02String Collation
- 51:18International Components for Unicode
- 52:36UnicodeString
- 53:58Regular Expressions
- 56:02Collation Comparison Levels
- 56:50Text Manipulation
- 57:21Boundary Analysis
- 59:39Resources








