Qsmtp
0.37
|
functions for UTF-8 processing More...
#include "sstring.h"
Go to the source code of this file.
Functions | |
int | valid_utf8 (const cstring s) |
check if a given string contains only valid UTF-8 sequences More... | |
functions for UTF-8 processing
int valid_utf8 | ( | const cstring | s | ) |
check if a given string contains only valid UTF-8 sequences
s | string to check |
-1 | the sequence is invalid |