From 3e2381bdafb3bf1feb8bd314c78ae5728b7b61d3 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Thu, 11 Jul 2024 16:40:47 +0200 Subject: [PATCH] Update README.md Co-authored-by: Steven G. Johnson --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 33d7c7b..f911237 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ free(fold_str); ```c // Decompose "\u00e4\u00f6\u00fc" = "äöü" into "a\u0308o\u0308u\u0308" (= "äöü" via combining char U+0308) utf8proc_uint8_t input[] = {0xc3, 0xa4, 0xc3, 0xb6, 0xc3, 0xbc}; // åäö -utf8proc_uint8_t *nfd= utf8proc_NFD(input); +utf8proc_uint8_t *nfd= utf8proc_NFD(input); // = {0x61, 0xcc, 0x88, 0x6f, 0xcc, 0x88, 0x75, 0xcc, 0x88} // Compose `a\u0308o\u0308u\u0308` into `åäö` utf8proc_uint8_t *nfc= utf8proc_NFC(nfd);