a C (C99) library to classify and convert unicode characters, based on the Unicode 3.0.0 specification. The library uses the Unicode specification data to create C code. mulle-unicode is fairly compact for what it does, compiling down to around 256KB.
ππΉπ»π
Release Version | Release Notes |
---|---|
RELEASENOTES |
File | Description |
---|---|
Ctype |
<ctype.h> like functionality for UTF32 and UTF16 strings |
Conversion |
Converting strings back and forth |
This project is a component of the mulle-core library. As such you usually will not add or install it
individually, unless you specifically do not want to link against
mulle-core
.
Use mulle-sde to add mulle-unicode to your project:
mulle-sde add github:mulle-c/mulle-unicode
To only add the sources of mulle-unicode with dependency sources use clib:
clib install --out src/mulle-c mulle-c/mulle-unicode
Add -isystem src/mulle-c
to your CFLAGS
and compile all the sources that were downloaded with your project.
Use mulle-sde to build and install mulle-unicode and all dependencies:
mulle-sde install --prefix /usr/local \
https://github.com/mulle-c/mulle-unicode/archive/latest.tar.gz
Install the requirements:
Requirements | Description |
---|---|
mulle-c11 | π Cross-platform C compiler glue (and some cpp conveniences) |
Download the latest tar or zip archive and unpack it.
Install mulle-unicode into /usr/local
with cmake:
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DCMAKE_PREFIX_PATH=/usr/local \
-DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config Release
Nat! for Mulle kybernetiK