summaryrefslogtreecommitdiff
path: root/src/shared/utf8.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-07-13 01:07:41 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-13 01:07:41 +0200
commitba961854ddec8a8efcffab44540c33cc7dffebfa (patch)
tree4438f3218e86cf5620affd2b4850e90890f0e3da /src/shared/utf8.h
parent3a419b98485e347413f723f46ceb38dcf2c94688 (diff)
journalctl: show any printable Unicode character
This makes sure we are OK in outputting all valid, non-control UTF-8 characters, instead of just printable 7bit ASCII.
Diffstat (limited to 'src/shared/utf8.h')
-rw-r--r--src/shared/utf8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/utf8.h b/src/shared/utf8.h
index af2420fda4..fec76b487a 100644
--- a/src/shared/utf8.h
+++ b/src/shared/utf8.h
@@ -27,6 +27,8 @@
char *utf8_is_valid(const char *s) _pure_;
char *ascii_is_valid(const char *s) _pure_;
+char *utf8_is_printable_n(const char* str, size_t length) _pure_;
+
char *utf8_filter(const char *s);
char *ascii_filter(const char *s);