upadate encode
Merge branch 'master' of https://github.com/Johnqing/n.js