omer d
asked on
compress in JavaScript & decompress in python
Hi,
I'm looking for a way to compress big string in javascript (client side)
and then to decompress it in python (server side)
any suggestions?
thanks!
I'm looking for a way to compress big string in javascript (client side)
and then to decompress it in python (server side)
any suggestions?
thanks!
ASKER
Hi,
thanks, already looked at it, but for some reason it didn't work for me for unicode data..
maybe it related to the fact that I'm using python 2.7 and not python 3..
which python did you use?
which encode / decode method did you use?
thanks,
Omer
thanks, already looked at it, but for some reason it didn't work for me for unicode data..
maybe it related to the fact that I'm using python 2.7 and not python 3..
which python did you use?
which encode / decode method did you use?
thanks,
Omer
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
perhaps not the best library (in regards of output sizes), but it has implementations in both languages:
http://pieroxy.net/blog/pages/lz-string/index.html
I used solely the JavaScript library previously and had no issues.
HTH
Rainer