sheredom/utf8.h
📚 single header utf8 string functions for C and C++ observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 99
- Release rhythm 53
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4075
- days_rel: 103
- days_push: 7
- n_releases_24m: 1
Adoption not part of the score
1979 stars · 141 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A single-header C and C++ library providing UTF-8 string manipulation functions mirroring the standard string.h API. It offers utf8-prefixed equivalents of str* functions plus codepoint handling and validation utilities.
Use cases
- handle utf8 strings in c or c++
- count codepoints in a utf8 string
- validate utf8 string data
- portable string functions across linux macos windows
- iterate over unicode codepoints in a string
- drop-in utf8 alternative to string.h
When to choose
- you need lightweight UTF-8 string handling in C/C++ without dependencies
- you want an API familiar from string.h
- you need a single-header, easy-to-vendor solution
When to avoid
- you need full Unicode normalization, case folding, or locale-aware collation
- you need wide-character or UTF-16/UTF-32 support
- you need case-insensitive functions marked incomplete
Facets
library · maturity stable
parser internationalization developer-tools programming-languages developer-tools windows cpp c cross-platform header-only utf8 string-processing unicode single-header localization linux macos
1 source
- readme: https://github.com/sheredom/utf8.h · fetched 2026-08-28 · bfbca658eec1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sheredom/utf8.h | main | 83 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem