Decode from UTF-8 to allow unicode characters in the connection name

This commit is contained in:
samhed 2014-03-14 13:44:10 +01:00
parent f1e6daf3c8
commit 6227a91c01
1 changed files with 1 additions and 1 deletions

View File

@ -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")