diff options
author | Christian Beier <dontmind@freeshell.org> | 2018-10-01 20:50:35 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2018-10-01 20:50:35 +0200 |
commit | ffe33574918cf31926ed37caef12f24e73b2d478 (patch) | |
tree | a5402503529c20741556306aff0275ddaa44b159 /webclients/novnc/core/util/strings.js | |
parent | de3a2f46b5c4913ba55dfb8c6f7c8b52136bf27a (diff) | |
download | libtdevnc-ffe33574918cf31926ed37caef12f24e73b2d478.tar.gz libtdevnc-ffe33574918cf31926ed37caef12f24e73b2d478.zip |
Update bundled noVNC to latest release 1.0.0
Closes #148
Diffstat (limited to 'webclients/novnc/core/util/strings.js')
-rw-r--r-- | webclients/novnc/core/util/strings.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/webclients/novnc/core/util/strings.js b/webclients/novnc/core/util/strings.js new file mode 100644 index 0000000..00a6156 --- /dev/null +++ b/webclients/novnc/core/util/strings.js @@ -0,0 +1,15 @@ +/* + * noVNC: HTML5 VNC client + * Copyright (C) 2012 Joel Martin + * Licensed under MPL 2.0 (see LICENSE.txt) + * + * See README.md for usage and integration instructions. + */ + +/* + * Decode from UTF-8 + */ +export function decodeUTF8 (utf8string) { + "use strict"; + return decodeURIComponent(escape(utf8string)); +}; |