pub unsafe extern "C" fn EncodeNarrowToUtf8(
cx: *mut JSContext,
chars: *const i8,
) -> u64
Expand description
Encode a narrow multibyte character string to a UTF-8 string.
NOTE: Should only be used when interacting with POSIX/OS functions and not for encoding ASCII/Latin-1/etc. strings to UTF-8.