Skip to content

Instantly share code, notes, and snippets.

@sergeevabc
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergeevabc/0f998609936c52ff011c to your computer and use it in GitHub Desktop.
Save sergeevabc/0f998609936c52ff011c to your computer and use it in GitHub Desktop.
function Uint8ArrayToString(arr) {
var encodedString = String.fromCharCode.apply(null, arr),
decodedString = decodeURIComponent(escape(encodedString));
return decodedString;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment