{"action":"opened","issue":{"url":"https://api.github.com/repos/rufushuang/lz-string4java/issues/1","labels_url":"https://api.github.com/repos/rufushuang/lz-string4java/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rufushuang/lz-string4java/issues/1/comments","events_url":"https://api.github.com/repos/rufushuang/lz-string4java/issues/1/events","html_url":"https://github.com/rufushuang/lz-string4java/issues/1","id":90596291,"number":1,"title":"LZString.compress() produces different string","user":{"login":"FerrielMelarpis","id":8219804,"avatar_url":"https://avatars.githubusercontent.com/u/8219804?v=3","gravatar_id":"","url":"https://api.github.com/users/FerrielMelarpis","html_url":"https://github.com/FerrielMelarpis","followers_url":"https://api.github.com/users/FerrielMelarpis/followers","following_url":"https://api.github.com/users/FerrielMelarpis/following{/other_user}","gists_url":"https://api.github.com/users/FerrielMelarpis/gists{/gist_id}","starred_url":"https://api.github.com/users/FerrielMelarpis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FerrielMelarpis/subscriptions","organizations_url":"https://api.github.com/users/FerrielMelarpis/orgs","repos_url":"https://api.github.com/users/FerrielMelarpis/repos","events_url":"https://api.github.com/users/FerrielMelarpis/events{/privacy}","received_events_url":"https://api.github.com/users/FerrielMelarpis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-24T07:39:07Z","updated_at":"2015-06-24T07:39:07Z","closed_at":null,"body":"I used javascript for the frontend and java for backend with my project. \r\nThe scenario is that when I compress a string in javascript using LZString.compress() method and send it to the server, the server decompresses it successfully, but when the decompressed string is compressed using LZString.compress() in the server (w/c is java), it produces a different string compared to the string produced in the compress method of javascript implementation (somehow it looks like it's missing one byte or so). So when I tried to decompress the compressed string I received from the server, the result is null or sometimes garbage characters. "}}