nemtrif/utfcpp
UTF-8 with C++ in a Portable Way observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 99
- Release rhythm 75
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 123.0
- age_days: 4036
- days_rel: 10
- days_push: 10
- n_releases_24m: 5
Adoption not part of the score
1987 stars · 240 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small, header-only C++ library for handling UTF-8 encoded strings in a portable way, compatible back to C++98. It provides STL iterator-based utilities for validating, converting, and manipulating UTF-8 text, including conversion to and from UTF-16.
Use cases
- validate that a string or file contains valid UTF-8 text
- convert UTF-8 strings to UTF-16 and back
- handle Unicode text in C++98 or legacy C++ codebases
- iterate over UTF-8 encoded characters with STL-style iterators
- add portable Unicode support to a cross-platform C++ project
When to choose
- you need lightweight, dependency-free UTF-8 handling in C++
- your codebase must stay compatible with C++98/03
- you want an STL iterator-friendly Unicode API
- you prefer a header-only library that is trivial to deploy
When to avoid
- you need full Unicode normalization, collation, or locale-aware processing
- your project already uses ICU or another comprehensive Unicode library
- you need CMake-based package installation as a supported workflow
Facets
library · maturity stable
internationalization parser serialization developer-tools text-editors cross-platform cpp cross-platform utf-8 utf-16 unicode header-only stl-iterators cpp98
1 source
- readme: https://github.com/nemtrif/utfcpp · fetched 2026-08-28 · a6a11cfc2308
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nemtrif/utfcpp | main | 91 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem