Convert a ucs2 string into a UTF-8 one.
The ucs2 string is treated as network byte ordered, and terminated with a 16-bit null.
ptr |
a ucs2 string to convert |
The converted string. Free it with g_free, when no longer needed. |