mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
And functions for convertion to and from current locale and UTF-8.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@931 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
40d9f5d00d
commit
4981092a79
3 changed files with 79 additions and 1 deletions
|
|
@ -36,6 +36,12 @@ const char *pa_utf8_valid(const char *str);
|
|||
/** Filter all invalid UTF8 characters from the specified string, returning a new fully UTF8 valid string. Don't forget to free the returned string with pa_xfree() */
|
||||
char *pa_utf8_filter(const char *str);
|
||||
|
||||
/** Convert a UTF-8 string to the current locale. Free the string using pa_xfree(). */
|
||||
char* pa_utf8_to_locale (const char *str);
|
||||
|
||||
/** Convert a string in the current locale to UTF-8. Free the string using pa_xfree(). */
|
||||
char* pa_locale_to_utf8 (const char *str);
|
||||
|
||||
PA_C_DECL_END
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue