How does it compare with utf8proc [1]? I'm aware that Mojibake does a bit more than utf8proc (e.g. bi-di) but that seems marginal to me. [1] https://juliastrings.github.io/utf8proc/
Open mojibake.zaerl.commojibake.zaerl.com
Mojibake
A low-level Unicode text processing library written in C consisting of amalgamation files with zero dependencies.
Visit project- First shared
- Jul 16, 2026
- HN activity
- 7822
Show HN@programJul 16, 2026
Show HN: Mojibake – A low-level Unicode library written in C
I've written Mojibake because I don't like the other Unicode libraries for Unicode support. It consists of only two amalgamation files: mojibake.h and mojibake.c. I've added all the most important Unicode algorithms, such as normalization, case conversion, segmentation, bidirectional text, collation, confusable, and others. I regularly test it in these OSes: Linux, macOS, FreeBSD, OpenBSD, NetBSD, and Windows 11. You can find a WASM demo on that site of all the public API functions and the documentation. If you want to participate, feel free to do it. Any kind of help is welcome. Check the CONTRIBUTING.md and API.md files in the GitHub repository for instructions on how to do it.
Community