GNU/Linux |
CentOS 5.2 |
|
![]() |
pr29_8z(3) |
![]() |
pr29_8z − check if input trigger Unicode normalization bugs
#include <pr29.h>
int pr29_8z(const char * in);
const char * 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.
Returns the Pr29_rc value PR29_SUCCESS on success, and PR29_PROBLEM if the input sequence is a "problem sequence" (i.e., may be normalized into different strings by different implementations), or PR29_STRINGPREP_ERROR if there was a problem converting the string from UTF−8 to UCS−4.
Report bugs to <bug-libidn@gnu.org>.
Copyright
© 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
Permission is granted to make and distribute verbatim copies
of this manual provided the copyright notice and this
permission notice are preserved on all copies.
The full documentation for libidn is maintained as a Texinfo manual. If the info and libidn programs are properly installed at your site, the command
info libidn
should give you access to the complete manual.
![]() |
pr29_8z(3) | ![]() |