Function mozjs::jsapi::EncodeUtf8ToWide
source ยท pub unsafe extern "C" fn EncodeUtf8ToWide(
cx: *mut JSContext,
chars: *const i8,
) -> u8
Expand description
Encode a UTF-8 string to a wide string.
NOTE: Should only be used when interacting with Windows API functions.