summaryrefslogtreecommitdiff
path: root/doc/texi/pr29.c.texi
blob: 4f5e4898e2a2d3ba1c4e690d115192793b5c8ec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@subheading pr29_4
@anchor{pr29_4}
@deftypefun {int} {pr29_4} (const uint32_t * @var{in}, size_t @var{len})
@var{in}: input array with unicode code points.

@var{len}: length of input array with unicode code points.

Check the input to see if it may be normalized into different
strings by different NFKC implementations, due to an anomaly in the
NFKC specifications.

@strong{Return value:} Returns the @code{Pr29_rc} value @code{PR29_SUCCESS} on success,
and @code{PR29_PROBLEM} if the input sequence is a "problem sequence"
(i.e., may be normalized into different strings by different
implementations).
@end deftypefun

@subheading pr29_4z
@anchor{pr29_4z}
@deftypefun {int} {pr29_4z} (const uint32_t * @var{in})
@var{in}: zero terminated array of Unicode code points.

Check the input to see if it may be normalized into different
strings by different NFKC implementations, due to an anomaly in the
NFKC specifications.

@strong{Return value:} Returns the @code{Pr29_rc} value @code{PR29_SUCCESS} on success,
and @code{PR29_PROBLEM} if the input sequence is a "problem sequence"
(i.e., may be normalized into different strings by different
implementations).
@end deftypefun

@subheading pr29_8z
@anchor{pr29_8z}
@deftypefun {int} {pr29_8z} (const char * @var{in})
@var{in}: zero terminated input UTF-8 string.

Check the input to see if it may be normalized into different
strings by different NFKC implementations, due to an anomaly in the
NFKC specifications.

@strong{Return value:} Returns the @code{Pr29_rc} value @code{PR29_SUCCESS} on success,
and @code{PR29_PROBLEM} if the input sequence is a "problem sequence"
(i.e., may be normalized into different strings by different
implementations), or @code{PR29_STRINGPREP_ERROR} if there was a
problem converting the string from UTF-8 to UCS-4.
@end deftypefun