util_utf8_make_valid
Description:
Returns a newly-allocated copy of str
, with invalid characters replaced by Unicode replacement characters (U+FFFD).
For null
str
returns newly allocated empty string ("").
Parameters:
str |
a UTF-8 string |
Returns:
a newly-allocated string |
Namespace: E
Package: libedataserver-1.2