mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 11:38:12 +00:00
changed UTF-8 encoding to allow u/0000
This commit is contained in:
parent
e5e651375c
commit
d092145c89
@ -161,8 +161,7 @@ var toUtf8 = function(hex) {
|
||||
* Should be called to get hex representation (prefixed by 0x) of utf8 string
|
||||
*
|
||||
* @method fromUtf8
|
||||
* @param {String} string
|
||||
* @param {Number} optional padding
|
||||
* @param {String} str
|
||||
* @returns {String} hex representation of input string
|
||||
*/
|
||||
var fromUtf8 = function(str) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user