"中文".charCodeAt(); after gizp error can't ungizp you can use utf-8
You can use this library and it works as expected: http://nodeca.github.io/pako/#gzip