Daniel Lemire personal blog
Validating UTF-8 strings using as little as 0.7 cycles per byte
Most strings found on the Internet are encoded using a particular unicode format called UTF-8. However, not all strings of bytes are valid UTF-8. The rules as to what constitute a valid UTF-8 string are somewhat arcane. Yet it seems important to quickly validate these strings before you consume them. In a previous…
- Points
- 139
- HN comments
- 69
- Submissions
- 1
- Cited by
- 3 commenters
Systems & PerformanceSoftware Engineering2018
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| May 16, 2018 | Validating UTF-8 strings using as little as 0.7 cycles per byte by ingve | 139 | 69 |
Cited in comments
Linked from 3 Hacker News comments by 3 different people, from Aug 2019 to May 2020.
Most recent:
- burntsushi · May 3, 2020
- clauderoux · Sep 9, 2019
- raphlinus · Aug 3, 2019