| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fa447b5 commit d40bcdd
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1036,6 +1036,7 @@ export function load(url, context, nextLoad) { | |||
| 1036 | 1036 | return new Promise((resolve, reject) => { | |
| 1037 | 1037 | get(url, (res) => { | |
| 1038 | 1038 | let data = ''; | |
| 1039 | + res.setEncoding('utf8'); | ||
| 1039 | 1040 | res.on('data', (chunk) => data += chunk); | |
| 1040 | 1041 | res.on('end', () => resolve({ | |
| 1041 | 1042 | // This example assumes all network-provided JavaScript is ES module | |
| Back | FazBrowse Home | New Git URL |
0 commit comments