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
This commit is contained in:
Pierre Ossman 2006-05-15 13:04:13 +00:00
parent 7a92f361c6
commit 9c8661c675
2 changed files with 53 additions and 7 deletions

View file

@ -23,5 +23,6 @@
***/
const char *pa_utf8_valid(const char *str);
const char *pa_utf8_filter(const char *str);
#endif