fix(windows): support utf16-le files in the bundler and in Bun.file (#8219)

* support utf16-le files

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
dave caruso
2024-01-16 17:15:16 -08:00
committed by GitHub
parent fc80683256
commit 82fcb38005
9 changed files with 171 additions and 19 deletions

View File

@@ -711,7 +711,7 @@ pub const String = extern struct {
this: *String,
) JSC.JSValue;
pub fn toJSForParseJSON(self: *String, globalObject: *JSC.JSGlobalObject) JSC.JSValue {
pub fn toJSByParseJSON(self: *String, globalObject: *JSC.JSGlobalObject) JSC.JSValue {
JSC.markBinding(@src());
return BunString__toJSON(globalObject, self);
}