{ "name": "utf8proc", "version": "2.11.3", "summary": "utf8proc: Unicode normalisation, case mapping and character widths for UTF-8 text (Neovim's grapheme and width rules)", "category": "library", "license": "MIT", "homepage": "https://juliastrings.github.io/utf8proc/", "source": { "url": "https://github.com/JuliaStrings/utf8proc/archive/v2.11.3.tar.gz", "sha256": "abfed50b6d4da51345713661370290f4f4747263ee73dc90356299dfc7990c78" }, "watch": {"kind": "github-tag", "repo": "JuliaStrings/utf8proc"}, "deps": [], "env_packages": [], "static": true, "nss": false, "check": "check_lib libutf8proc utf8proc.h 'utf8proc_uint8_t *n = utf8proc_NFC((const utf8proc_uint8_t *)\"Z\\x61\\xcc\\x81\\x7a\"); if (!n || strcmp((char *)n, \"Z\\xc3\\xa1z\")) return 1; utf8proc_int32_t up = utf8proc_toupper(0x17C); int w1 = utf8proc_charwidth(0x65E5), w2 = utf8proc_charwidth(0x1F600), w0 = utf8proc_charwidth(0x301); utf8proc_int32_t st = 0; int brk = utf8proc_grapheme_break_stateful(0x1F1F5, 0x1F1F1, &st); printf(\"utf8proc %s (Unicode %s): NFC joined a + U+0301 into U+00E1, U+017C upper is U+%04X, widths 2/2/0, a flag stays one grapheme: %d\\n\", utf8proc_version(), utf8proc_unicode_version(), (unsigned)up, brk); free(n); return up != 0x17B || w1 != 2 || w2 != 2 || w0 != 0 || brk != 0' | has 'U+017C upper is U+017B'" }