mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-28 00:55:22 +00:00
22 lines
416 B
JavaScript
22 lines
416 B
JavaScript
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
exports.decodeUTF8 = decodeUTF8;
|
||
|
/*
|
||
|
* 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
|
||
|
*/
|
||
|
function decodeUTF8(utf8string) {
|
||
|
"use strict";
|
||
|
|
||
|
return decodeURIComponent(escape(utf8string));
|
||
|
};
|