diff --git a/src/components/panes/design.tsx b/src/components/panes/design.tsx index e0873eae..74899e1f 100644 --- a/src/components/panes/design.tsx +++ b/src/components/panes/design.tsx @@ -120,7 +120,7 @@ const makeReaderPromise = (file: File): Promise<[string, string]> => { }; reader.onerror = rej; reader.onabort = rej; - reader.readAsBinaryString(file); + reader.readAsText(file, "UTF-8") }); };