Changeset 3476:772b0a7aa509 in roaraudio for libroarpulse
- Timestamp:
- 02/14/10 04:08:46 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroarpulse/utf8.c
r3475 r3476 39 39 #include <libroarpulse/libroarpulse.h> 40 40 41 /** Test if the specified strings qualifies as valid UTF8. Return the string if so, otherwise NULL */ 42 const char *pa_utf8_valid(const char *str); 43 44 /** 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() */ 45 char *pa_utf8_filter(const char *str); 46 47 /** Convert a UTF-8 string to the current locale. Free the string using pa_xfree(). */ 48 char* pa_utf8_to_locale (const char *str); 49 50 /** Convert a string in the current locale to UTF-8. Free the string using pa_xfree(). */ 51 char* pa_locale_to_utf8 (const char *str); 52 41 53 //ll
Note: See TracChangeset
for help on using the changeset viewer.