From 9c8661c675c92c15793b1f1005816d0d0531e6cf Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 15 May 2006 13:04:13 +0000 Subject: Add function to filter a string of any invalid UTF-8 sequences. User must free() the result. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@872 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/polypcore/utf8.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/polypcore/utf8.h') diff --git a/src/polypcore/utf8.h b/src/polypcore/utf8.h index 7f394978..5f1fc5df 100644 --- a/src/polypcore/utf8.h +++ b/src/polypcore/utf8.h @@ -23,5 +23,6 @@ ***/ const char *pa_utf8_valid(const char *str); +const char *pa_utf8_filter(const char *str); #endif -- cgit