. Add InputStreamReader support . Using charset as declared in HTTP header or UTF-8 as default . Replaced use of InputStream through InputStreamReader to avoid wrong encoding.