1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-27 16:45:22 +00:00
webvirtcloud/static/js/novnc/core/util/strings.js

15 lines
301 B
JavaScript
Raw Normal View History

/*
* noVNC: HTML5 VNC client
2019-06-24 11:26:25 +00:00
* Copyright (C) 2018 The noVNC Authors
* Licensed under MPL 2.0 (see LICENSE.txt)
*
* See README.md for usage and integration instructions.
*/
/*
* Decode from UTF-8
*/
2019-06-24 11:26:25 +00:00
export function decodeUTF8(utf8string) {
return decodeURIComponent(escape(utf8string));
2019-06-24 11:26:25 +00:00
}