mcpp index

compat.utf8proc

#include

Clean, small, and portable C library for processing UTF-8 Unicode data

#include <utf8proc.h>
mcpp add compat.utf8proc@2.10.0

Usage

From this repository's own test project — built and run by CI, not written for the website.

#include <utf8proc.h>

#include <cstdlib>
#include <cstring>
#include <iostream>
#include <string>
#include <string_view>

namespace {

bool Expect(bool ok, const char* msg) {
  if (!ok) {
    std::cerr << "FAIL: " << msg << "\n";
  }
  return ok;
}

} // namespace

int main() {
  bool ok = true;

// …

tests/examples/utf8proc/tests/utf8proc.cpp · project tests/examples/utf8proc

Build

targets
utf8proc (lib)
language
c++23
C standard
c11
import std
no
include dirs
*

Features

featuredeclares
defaultimplies
staticlibdefines

Sources (1)

  • */utf8proc.c

Versions

VersionPlatforms Mirrorssha256
2.10.0 latest LinuxWindowsmacOS CN GLOBAL 6f4f1b639daa…