utf8_ucs2
Description:
public string utf8_ucs2 (
string ptr)
Convert a UTF-8 string into a ucs2 one.
The ucs string will be in network byte order, and terminated with a 16-bit null.
Parameters:
ptr |
a UTF-8 string to convert
|
Returns:
The converted string. Free it with g_free, when no longer needed.
|