chiark / gitweb /
utf8: intruduce utf8_escape_non_printable
[elogind.git] / src / shared / utf8.h
index c087995930eb0a75f2c7473829d45df97f5f9ff1..1fe1a350d5fe862c8d837b204eed6c17469e95b4 100644 (file)
@@ -30,6 +30,7 @@
 const char *utf8_is_valid(const char *s) _pure_;
 char *ascii_is_valid(const char *s) _pure_;
 char *utf8_escape_invalid(const char *s);
+char *utf8_escape_non_printable(const char *str);
 
 bool utf8_is_printable_newline(const char* str, size_t length, bool newline) _pure_;
 _pure_ static inline bool utf8_is_printable(const char* str, size_t length) {