macOS
brew install libunicodelocal Homebrew formula metadata
brew
Modern C++20 Unicode library. Version 0.9.0 via Homebrew; verified 2026-06-07.
install
brew install libunicodelocal Homebrew formula metadata
sudo apk add libunicodeAlpine Linux edge package indexes · libunicode · source: dl-cdn.alpinelinux.org
sudo dnf install libunicodeFedora Rawhide package metadata · libunicode · source: dl.fedoraproject.org
nix profile install nixpkgs#libunicodenixpkgs package indexes · pkgs/by-name/li/libunicode/package.nix · source: api.github.com
sudo pacman -S libunicodeArch Linux sync databases · libunicode · source: geo.mirror.pkgbuild.com
sudo zypper install libunicode-developenSUSE Tumbleweed package metadata · libunicode-devel · source: download.opensuse.org
overview
Modern C++20 Unicode library
history
libunicode is a modern C++20 Unicode library from the Contour Terminal ecosystem, focused on practical Unicode properties, segmentation, width calculation, and conversion APIs.
The project describes its goal as painless Unicode support for C++ with simple APIs that feel familiar to C++ standard-library users. Its feature set includes Unicode Character Database property access, UTF-8 and UTF-32 conversion, wcwidth-style width calculation, grapheme segmentation, emoji and script segmentation, word segmentation, and a unicode-query command-line tool.
The v0.1.0 release on November 3, 2022 called itself an initial release after two and a half years and said the project had already been actively used by Contour Terminal. Later tags show a steady 0.x progression through v0.9.0 on April 9, 2026.
The README names Contour Terminal Emulator as a user of the library. That adoption path explains the library's emphasis on terminal-relevant Unicode details such as grapheme clusters, width, variation selectors, emoji behavior, and text-run segmentation.
Packaging in Homebrew and other Unix-like package sets gives developers a small C++ alternative to larger Unicode stacks when they want terminal- or text-processing-oriented Unicode support without adopting ICU's older C/C++ API style.
Developers can add libunicode as a submodule or CMake dependency and link against unicode::unicode. Users can inspect text with the unicode-query CLI, while applications use the library for width decisions, segmentation, conversion, and Unicode property lookup.
libunicode is package-nerd significant as a terminal-driven Unicode library: it focuses on the messy details that make modern terminal rendering hard, especially grapheme clusters, emoji sequences, variation selectors, and wcwidth-like behavior.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
unicode-query | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/contour-terminal/libunicode
install metadata
| Package key | brew:libunicode |
|---|---|
| Version | 0.9.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libunicode |
| Homepage | https://github.com/contour-terminal/libunicode |
| Repository | https://github.com/contour-terminal/libunicode |
| Upstream docs | https://github.com/contour-terminal/libunicode |
| License | Apache-2.0 |
| Source archive | https://github.com/contour-terminal/libunicode/archive/refs/tags/v0.9.0.tar.gz |
| Last updated | 2026-06-07T18:07:31Z |
| Pulse | updated |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libunicode |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libunicode
nix profile install nixpkgs#libunicodelibunicode 0.7.0-r0
Modern C++17 Unicode library
sudo apk add libunicodelibunicode-dev 0.7.0-r0
Modern C++17 Unicode library (development files)
sudo apk add libunicode-devlibunicode-doc 0.7.0-r0
Modern C++17 Unicode library (documentation)
sudo apk add libunicode-doclibunicode-tools 0.7.0-r0
Modern C++17 Unicode library - query tools
sudo apk add libunicode-toolslibunicode 0.9.0-1.fc45
Modern C++20 Unicode Library
https://github.com/contour-terminal/libunicode
sudo dnf install libunicodelibunicode-devel 0.9.0-1.fc45
Development files for libunicode
https://github.com/contour-terminal/libunicode
sudo dnf install libunicode-devellibunicode-tools 0.9.0-1.fc45
Tools for libunicode
https://github.com/contour-terminal/libunicode
sudo dnf install libunicode-toolslibunicode 0.9.0-1
Unicode and UTF-8 C++ library
https://github.com/contour-terminal/libunicode
sudo pacman -S libunicodelibunicode-devel 0.6.0-1.4
Development files for libunicode
https://github.com/contour-terminal/libunicode
sudo zypper install libunicode-devellibunicode-tools 0.6.0-1.4
Tools for libunicode
https://github.com/contour-terminal/libunicode
sudo zypper install libunicode-toolslibunicode0_6 0.6.0-1.4
Library files for libunicode
https://github.com/contour-terminal/libunicode
sudo zypper install libunicode0_6source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.