This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "unicode.h" | |
#include <stdint.h> | |
#include <stddef.h> | |
int is_valid_char(uint32_t ch) | |
{ | |
return ch < 0xd800 || ch > 0xdfff; | |
} | |
int is_combo_char(uint32_t ch) |