Decode from UTF-8 to allow unicode characters in the connection name
This commit is contained in:
parent
f1e6daf3c8
commit
6227a91c01
|
@ -923,7 +923,7 @@ init_msg = function() {
|
||||||
|
|
||||||
/* Connection name/title */
|
/* Connection name/title */
|
||||||
name_length = ws.rQshift32();
|
name_length = ws.rQshift32();
|
||||||
fb_name = ws.rQshiftStr(name_length);
|
fb_name = decodeURIComponent(escape(ws.rQshiftStr(name_length)));
|
||||||
conf.onDesktopName(that, fb_name);
|
conf.onDesktopName(that, fb_name);
|
||||||
|
|
||||||
if (conf.true_color && fb_name === "Intel(r) AMT KVM")
|
if (conf.true_color && fb_name === "Intel(r) AMT KVM")
|
||||||
|
|
Loading…
Reference in New Issue