Well it turned out, TextEncoder does NOT accept encoding label

This commit is contained in:
NI committed 2019-09-15 07:42:58 +08:00
1 parent de8afbb6ce
commit adb6408428
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ class Control {
return;
}
return this.sender(new TextEncoder("utf-8").encode(data));
return this.sender(new TextEncoder().encode(data));
}
color() {