changed UTF-8 encoding to allow u/0000

This commit is contained in:
Fabian Vogelsteller 2017-03-02 16:27:41 +01:00
parent e5e651375c
commit d092145c89
No known key found for this signature in database
GPG Key ID: E51EADA77F1A4124

View File

@ -161,8 +161,7 @@ var toUtf8 = function(hex) {
* Should be called to get hex representation (prefixed by 0x) of utf8 string * Should be called to get hex representation (prefixed by 0x) of utf8 string
* *
* @method fromUtf8 * @method fromUtf8
* @param {String} string * @param {String} str
* @param {Number} optional padding
* @returns {String} hex representation of input string * @returns {String} hex representation of input string
*/ */
var fromUtf8 = function(str) { var fromUtf8 = function(str) {