utf8.h 201 B

1234567
  1. #ifndef __UTF8_H__
  2. #define __UTF8_H__
  3. // Check for valid UTF-8 string. Code taken from the examples in RFC 2640
  4. int utf8_valid(const unsigned char *buf, unsigned int len);
  5. #endif //__UTF8_H__