Function gnunet_sys::GNUNET_STRINGS_to_utf8 [−][src]
pub unsafe extern "C" fn GNUNET_STRINGS_to_utf8(
input: *const c_char,
len: usize,
charset: *const c_char
) -> *mut c_char
Convert the len characters long character sequence given in input that is in the given charset to UTF-8.
@param input the input string (not necessarily 0-terminated) @param len the number of bytes in the @a input @param charset character set to convert from @return the converted string (0-terminated)