utf8_make_valid_len


Description:


[ Version ( since = "3.34" ) ]
public string utf8_make_valid_len (string text, ssize_t text_len)

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

Parameters:

text

a text to make valid

text_len

length of the text, or -1 if NUL-terminated

Returns:

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


Namespace: Camel
Package: camel-1.2