1stringprep_utf8_nfkc_normalize(3)   libidn   stringprep_utf8_nfkc_normalize(3)
2
3
4

NAME

6       stringprep_utf8_nfkc_normalize - API function
7

SYNOPSIS

9       #include <stringprep.h>
10
11       char * stringprep_utf8_nfkc_normalize(const char * str, ssize_t len);
12

ARGUMENTS

14       const char * str
15                   a UTF-8 encoded string.
16
17       ssize_t len length of  str , in bytes, or -1 if  str is nul-terminated.
18

DESCRIPTION

20       Converts  a  string  into  canonical form, standardizing such issues as
21       whether a character with an accent is represented as a  base  character
22       and combining accent or as a single precomposed character.
23
24       The  normalization mode is NFKC (ALL COMPOSE).  It standardizes differ‐
25       ences that do not affect the text content, such as the  above-mentioned
26       accent  representation.  It standardizes the "compatibility" characters
27       in Unicode, such as SUPERSCRIPT THREE to the standard  forms  (in  this
28       case DIGIT THREE). Formatting information may be lost but for most text
29       operations such characters should be considered the same. It returns  a
30       result with composed forms rather than a maximally decomposed form.
31
32       Return  value:  a  newly  allocated string, that is the NFKC normalized
33       form of  str .
34

REPORTING BUGS

36       Report bugs to <help-libidn@gnu.org>.
37       General guidelines for reporting bugs: https://www.gnu.org/gethelp/
38       GNU Libidn home page: https://www.gnu.org/software/libidn/
39
40
42       Copyright © 2002-2022 Simon Josefsson.
43       Copying and distribution of this file, with  or  without  modification,
44       are  permitted in any medium without royalty provided the copyright no‐
45       tice and this notice are preserved.
46

SEE ALSO

48       The full documentation for libidn is maintained as  a  Texinfo  manual.
49       If  the  info  and libidn programs are properly installed at your site,
50       the command
51
52              info libidn
53
54       should give you access to the complete manual.  As an  alternative  you
55       may obtain the manual from:
56
57              https://www.gnu.org/software/libidn/manual/
58
59libidn                               1.41    stringprep_utf8_nfkc_normalize(3)
Impressum