What a Character
summary
Explains why Unicode uses over a million code points but only ~145,000 are assigned, and why Java’s 16-bit char forces surrogate pairs for non‑BMP characters; shows exact APIs to use — appendCodePoint, string.codePointCount, Java 8 codePoint streams — and warns that string.length, substring, and DB CHAR/VARCHAR sizes measure Java chars or bytes not user characters. Recommends explicit encodings like getBytes("UTF-8") and using Readers/Writers with a specified charset to avoid silent corruption.
AI-written summary · about
chapters (15)
- 0:00Introduction to Unicode
- 1:57Unicode code points and planes
- 9:50Java's Unicode support
- 12:15Java char limitations
- 17:42Unicode in Java literals
- 23:46Unicode case conversion
- 25:54Unicode in regex
- 29:49String manipulation pitfalls
- 30:11Encoding and decoding basics
- 36:26Java Charset class
- 41:00Streams vs readers/writers
- 42:06Properties files limitations
- 43:09Database string types
- 45:21Substring challenges
- 46:03Q&A
related talks
46mASCII to Unicode, what can possibly go w̵̳̓r̸̡̽ǒ̴̝n̴̬ͣg̶ͤ͜?
51mCharBusters - 10 Unicode Myths
01h 10mInteresting Characters
45mI ♥ Unicode
43mJavascript ♥ Unicode
46mHacking with Unicode in 2016
40mWhat Every Java Programmer Should Know About Strings
01h 24mUnicode: From First Principles to Practical Implementation
