Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to compressToBase64 in php and decompress in javascript #18

Open
freemaths opened this issue Oct 28, 2018 · 0 comments
Open

Fail to compressToBase64 in php and decompress in javascript #18

freemaths opened this issue Oct 28, 2018 · 0 comments

Comments

@freemaths
Copy link

Compressing in php with:
\LZCompressor\LZString::compressToBase64("test string");
Compressed data: C4UwzsAEEE4JYDsDmQ==

Fails to decompress in javascript:
LZUTF8.decompress("C4UwzsAEEE4JYDsDmQ==",{inputEncoding:"Base64"})
Decompressed data: ��0��N `;��

Presumably incompatible with latest npm version (using latest lzutf8 v 0.5.5) https://www.npmjs.com/package/lzutf8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant