diff options
author | samhed <samuel@cendio.se> | 2014-03-14 13:44:10 +0100 |
---|---|---|
committer | samhed <samuel@cendio.se> | 2014-03-14 13:44:10 +0100 |
commit | 6227a91c017f2d8e3deb03ece1eca082b336ef52 (patch) | |
tree | 9679b7ed298294895b615b7590c43b0a9df3f4a3 | |
parent | f1e6daf3c8fb4abd1d7090fb7c526a034449e30d (diff) | |
download | novnc-6227a91c017f2d8e3deb03ece1eca082b336ef52.tar.gz |
Decode from UTF-8 to allow unicode characters in the connection name
-rw-r--r-- | include/rfb.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rfb.js b/include/rfb.js index c9fd92a..9dad36a 100644 --- a/include/rfb.js +++ b/include/rfb.js @@ -923,7 +923,7 @@ init_msg = function() { /* Connection name/title */ name_length = ws.rQshift32(); - fb_name = ws.rQshiftStr(name_length); + fb_name = decodeURIComponent(escape(ws.rQshiftStr(name_length))); conf.onDesktopName(that, fb_name); if (conf.true_color && fb_name === "Intel(r) AMT KVM") |