mini_utf8

This is a small header-only library to en- and decode utf-8 encoded strings. It started out as a file in a collection of header only libs, but has received enough work to warrant it’s own project.

This library really only deals with en- and decoding of utf-8 encoded unicode codepoints. However, an attempt has been made to properly treat some of the oddities one might encounter, especially utf-16 relics like utf-8 encoded surrogates.

mini_utf8.h and all accompanying documentation and additional source code is released under the MIT license.

If you have anything to say about this, comments, bug reports, whatever, feel free to email them to

Documentation

There isn’t a separate README, all documentation is contained within the header file itself, which you can view here.

Download

Get it from the git repository at Codeberg.

News