#pragma once #include #include bool validate_utf8(const char *buf, size_t length);