Even tho I tried to specify encoding in python's gzip.open(), it seems to be always using cp1252.py to encode the file's content. My code:
with gzip.open('file.gz', 'rt', 'cp1250') as f:
content = f.read()
Response:
File "C:\Python34\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 52893: character maps to undefined