From 3605fc2026f012ac74e2a1081e8a9e819d6ce3fa Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Thu, 11 Jul 2024 16:40:33 +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 f77fbbf..3613ab4 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ free(fold_str); ### Normalization Form C/D (NFC/NFD) ```c -// Decompose `åäö` into `a\u0308o\u0308u\u0308` +// 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);