1 2 3 4 5 6 7
#pragma once #include <stddef.h> #include <stdbool.h> bool validate_utf8(const char *buf, size_t length);