#ifndef UTF8_H #define UTF8_H #include /** * @brief Calculate the display width of a UTF-8 string * * @param str The UTF-8 encoded string * @return The number of characters (display width) */ size_t utf8_display_width(const char *str); #endif