mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 19:48:13 +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
|
* 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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user