GZIPInputStream reading line by line

The basic setup of decorators is like this: InputStream fileStream = new FileInputStream(filename); InputStream gzipStream = new GZIPInputStream(fileStream); Reader decoder = new InputStreamReader(gzipStream, encoding); BufferedReader buffered = new BufferedReader(decoder); The key issue in this snippet is the value of encoding. This is the character encoding of the text in the file. Is it “US-ASCII”, “UTF-8”, … Read more