Skip to content

🈚 Unicode ctype like library

License

Notifications You must be signed in to change notification settings

mulle-c/mulle-unicode

Repository files navigation

mulle-unicode

🈚 Unicode ctype like library

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
Mulle kybernetiK tag Build Status Coverage RELEASENOTES

API

File Description
Ctype <ctype.h> like functionality for UTF32 and UTF16 strings
Conversion Converting strings back and forth

You are here

Overview

Add

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.

Add as an individual component

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.

Install

Install with mulle-sde

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

Manual Installation

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

Author

Nat! for Mulle kybernetiK