Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Steven G. Johnson <[email protected]>
  • Loading branch information
dundargoc and stevengj committed Jul 11, 2024
1 parent e2d7857 commit 3e2381b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3e2381b

Please sign in to comment.