方法
GLibStringappend_uri_escaped
自 2.16 起可用
声明 [src]
GString*
g_string_append_uri_escaped (
GString* string,
const gchar* unescaped,
const gchar* reserved_chars_allowed,
gboolean allow_utf8
)
参数
unescaped-
类型:
const gchar*一个字符串。
数据由方法调用者拥有。 该值是一个空终止的 UTF-8 字符串。 reserved_chars_allowed-
类型:
const gchar*允许使用的保留字符的字符串,或
NULL。数据由方法调用者拥有。 该值是一个空终止的 UTF-8 字符串。 allow_utf8-
类型:
gboolean如果转义字符串可能包含 UTF8 字符,则设置为
TRUE。
返回值
类型: GString
string.
| 返回的数据由实例拥有。 |