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, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Simon
42       Josefsson.
43       Copying and distribution of this file, with  or  without  modification,
44       are  permitted  in  any  medium  without royalty provided the copyright
45       notice 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.
55
56
57
58libidn                               1.18    stringprep_utf8_nfkc_normalize(3)
Impressum