From 9a4bdad55ddf81672c5a871d527ebc5cdd8f340b Mon Sep 17 00:00:00 2001 From: David Cormier Date: Thu, 1 Aug 2013 22:07:47 -0400 Subject: [PATCH] Supports accentuated characters --- js/protocol.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/protocol.js b/js/protocol.js index 0251063..3a12e7f 100644 --- a/js/protocol.js +++ b/js/protocol.js @@ -52,7 +52,7 @@ var Protocol = function() { for (var c = 0; c < uia.length; c++) { _str[c] = String.fromCharCode(uia[c]); } - return _str.join(""); + return decodeURIComponent(escape(_str.join(""))); }; var getInt = function() {