chiark / gitweb /
util: when unescaping C escape sequences support C++11 \u and \U unicode literals
[elogind.git] / src / shared / utf8.h
index 77f663438e9c3465c4a1695b5879f41ba8fa3823..e745649f06f5b06fcbe7b0869a798f068820d403 100644 (file)
@@ -27,6 +27,8 @@
 
 #define UTF8_REPLACEMENT_CHARACTER "\xef\xbf\xbd"
 
+bool unichar_is_valid(uint32_t c);
+
 const char *utf8_is_valid(const char *s) _pure_;
 char *ascii_is_valid(const char *s) _pure_;