mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
Fix copying UTF-16 -> UTF-8 sometimes causing invalid UTF-8 bytes (#20601)
This commit is contained in:
@@ -2247,7 +2247,9 @@ pub const copyU16IntoU8 = unicode.copyU16IntoU8;
|
||||
pub const copyU8IntoU16 = unicode.copyU8IntoU16;
|
||||
pub const copyU8IntoU16WithAlignment = unicode.copyU8IntoU16WithAlignment;
|
||||
pub const copyUTF16IntoUTF8 = unicode.copyUTF16IntoUTF8;
|
||||
pub const copyUTF16IntoUTF8Impl = unicode.copyUTF16IntoUTF8Impl;
|
||||
pub const copyUTF16IntoUTF8WithBuffer = unicode.copyUTF16IntoUTF8WithBuffer;
|
||||
pub const copyUTF16IntoUTF8WithBufferImpl = unicode.copyUTF16IntoUTF8WithBufferImpl;
|
||||
pub const decodeCheck = unicode.decodeCheck;
|
||||
pub const decodeWTF8RuneT = unicode.decodeWTF8RuneT;
|
||||
pub const decodeWTF8RuneTMultibyte = unicode.decodeWTF8RuneTMultibyte;
|
||||
|
||||
Reference in New Issue
Block a user