Home

Add a comment

 

Avatar: simone

strange chars decompressing a string

hello, i'm developing a mobile app, but sometimes i have problem using decompressFromUtf16, because it works but gives strange chars on result. This problem seems to happen only on Iphone This is what i do: 1) from Cordova app i compress (compressToUtf16) a json based string and i send it to a .net web service. It's a simple string with userid, password, name, etc 2) the web service takes the string, decompress it (decompressFromUtf16) and sometimes it works and sometimes not, displaying half string ok and half not, with uncomprensible chars. I'm not able to understand if the problem is on javascript compression or .NET decompression thanks for help!

strange chars decompressing a string


Title
Body
HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
OpenID Login
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

Home