Error:
Traceback (most recent call last):
File "try.py", line 5, in
print x.compressToBase64("Dak0tajdjdjdddddddddddddddddddddddd")
File "/home/solstice/lzstring.py", line 256, in compressToBase64
string = self.compress(string)
File "/home/solstice/lzstring.py", line 64, in compress
context_data_string += chr(context_data_val)
ValueError: chr() arg not in range(256)
import lzstring
x = lzstring.LZString()
print x.compressToBase64("Dak0tajdjdjdddddddddddddddddddddddd")
Error: Traceback (most recent call last): File "try.py", line 5, in
print x.compressToBase64("Dak0tajdjdjdddddddddddddddddddddddd")
File "/home/solstice/lzstring.py", line 256, in compressToBase64
string = self.compress(string)
File "/home/solstice/lzstring.py", line 64, in compress
context_data_string += chr(context_data_val)
ValueError: chr() arg not in range(256)
the context_data_val is 2180 at this point!!