wepy-urlencode
v1.0.1
Published
wepy urlencode urldecode
Downloads
1
Readme
wepy-urlencode
Install
$ npm install wepy-urlencode -S
Usage
import {urlencode,urldecode} from "wepy-urlencode";
var urlencode = require('urlencode');
console.log(urlencode('你好')); // 默认 utf-8
console.log(urlencode('苏千', 'gbk')); // '%CB%D5%C7%A7'