js encode to utf 8 code example
Example 1: node js utf8 encode
//install using 'npm install utf8'
const utf8 = require('utf8');
utf8.encode(string)
Example 2: type script encode url
var encodeURI = encodeURIComponent("&")
//install using 'npm install utf8'
const utf8 = require('utf8');
utf8.encode(string)
var encodeURI = encodeURIComponent("&")