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

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>.    GNU   Libidn  home  page:
37       http://www.gnu.org/software/libidn/ General help  using  GNU  software:
38       http://www.gnu.org/gethelp/
39
41       Copyright © 2002-2013 Simon Josefsson.
42       Copying  and  distribution  of this file, with or without modification,
43       are permitted in any medium  without  royalty  provided  the  copyright
44       notice and this notice are preserved.
45

SEE ALSO

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