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