From 81a9424066eae94293fee41381e374202ac34fd2 Mon Sep 17 00:00:00 2001 From: NI Date: Wed, 2 Oct 2019 22:09:35 +0800 Subject: [PATCH] Add default encoding to the launcher of Telnet when the charset is not set --- ui/commands/telnet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/commands/telnet.js b/ui/commands/telnet.js index e15fe70..ed5efba 100644 --- a/ui/commands/telnet.js +++ b/ui/commands/telnet.js @@ -486,6 +486,6 @@ export class Command { } launcher(config) { - return config.host + (config.charset ? "|" + config.charset : ""); + return config.host + "|" + (config.charset ? config.charset : "utf-8"); } }