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

用法

来自本仓库自己的测试项目 —— CI 真的编译并运行过,不是为了网站写的。

#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 · 项目 tests/examples/utf8proc

构建

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

特性

特性声明了
defaultimplies
staticlibdefines

源文件 (1)

  • */utf8proc.c

版本

版本平台 镜像sha256
2.10.0 最新 LinuxWindowsmacOS CN GLOBAL 6f4f1b639daa…