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

NAME

6       stringprep_utf8_nfkc_normalize - normalize Unicode string
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

RETURN VALUE

33       a newly allocated string, that is the NFKC normalized form of str.
34

REPORTING BUGS

36       Report bugs to <bug-libidn@gnu.org>.
37
39       Copyright © 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
40       Permission  is  granted  to make and distribute verbatim copies of this
41       manual provided the copyright notice and  this  permission  notice  are
42       preserved on all copies.
43

SEE ALSO

45       The  full  documentation  for libidn is maintained as a Texinfo manual.
46       If the info and libidn programs are properly installed  at  your  site,
47       the command
48
49              info libidn
50
51       should give you access to the complete manual.
52
53
54
55libidn                               0.6.8   stringprep_utf8_nfkc_normalize(3)
Impressum