How to have a browser gunzip an Ajax fetched gziped text file?
This question already has an answer here:
letting the browser uncompress it with Content-Encoding: gzip is probably the best. In case it doesn't work for your scenario, there are many LZW implementations in javascript like: https://gist.github.com/revolunet/843889
you might have to try out different implementations, i didn't check any of them myself.
链接地址: http://www.djcxy.com/p/69312.html上一篇: 获取iOS视图的实际尺寸