GLib.utf8_strdown (original) (raw)
Function
GLibutf8_strdown
Declaration [src]
gchar*
g_utf8_strdown (
const gchar* str,
gssize len
)
Description [src]
Converts all Unicode characters in the string that have a case to lowercase. The exact manner that this is done depends on the current locale, and may result in the number of characters in the string changing.
Parameters
str
Type: const gchar*
A UTF-8 encoded string.
The data is owned by the caller of the function. |
---|
The value is a NUL terminated UTF-8 string. |
len
Type: gssize
Length of str
, in bytes, or -1 if str
is nul-terminated.
Return value
Type: gchar*
A newly allocated string, with all characters converted to lowercase.
The caller of the function takes ownership of the data, and is responsible for freeing it. |
---|
The value is a NUL terminated UTF-8 string. |