utf8_make_valid


Description:


[ Version ( since = "2.26" ) ]
public string utf8_make_valid (string text)

Ensures the returned text will be valid UTF-8 string, with incorrect letters changed to question marks.

Parameters:

text

a text to make valid

Returns:

Valid UTF-8 string, with replaced incorrect letters. Free it with g_free, when no longer needed.


Namespace: Camel
Package: camel-1.2



2022 vala-language.org