Function ndpi_check_punycode_string

Function Documentation

int ndpi_check_punycode_string(char *buff, int len)

Check if a string is encoded with punycode ( https://tools.ietf.org/html/rfc3492 )

buff = pointer to the string to ckeck
len = len of the string
Return
1 if the string is punycoded; else 0