convert utf-8 to gbk ,and encodeuri
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README
main.js
package.json

README

var enc = require('encodeuri_gbk');

var url = 'http://中文url';
url = enc.encodeGBKURI(url);