On 26 August 2011 11:58, mugurel cosmin <mugurelcos...@gmail.com> wrote: > I`m getting the data from a json array in which i have a gzipped url encoded > string. I`m getting the string url decoding it, converting the string to > bytes array[] , then i create an inputstream from the byte array and > then i`m trying to use GZIPInputStream. In the console i get an error of > unknown format. The server is running UTF-8 and the gzip data is created > with gzcompress from php.
Few things: Do you URL encode on the server side? Do you URLDecode specifying "UTF-8"? Do you turn the URL decoded String to byte[] also specifying "UTF-8" ? -- Daniel Drozdzewski -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en