Function mozjs::jsapi::EncodeWideToUtf8

source ยท
pub unsafe extern "C" fn EncodeWideToUtf8(
    cx: *mut JSContext,
    chars: *const u32,
) -> u64
Expand description

Encode a wide string to a UTF-8 string.

NOTE: Should only be used when interacting with Windows API functions.