Added UTF8 support in device file tab editor, #3450
Ylian Saint-Hilaire committed
Jan 13, 2022 at 18:33 UTC
c226363717883cb06b1de85a954542671f7d622f
1 file changed
+1
-1
views/default.handlebars
+1
-1
@@ -10182,7 +10182,7 @@
10182
QS('dialog').width = 'auto';
10183
QS('dialog').bottom = '80px';
10184
QS('dialog').top = QS('dialog').left = QS('dialog').right = '100px';
10185
- Q('d4editorarea').value = gdownloadFile.data;
10185
+ Q('d4editorarea').value = decode_utf8(gdownloadFile.data);
10186
gdownloadFile = null;
10187
} else {
10188
// Save the file to disk