human
Reading utf-8 characters from a gzip file in python
assistant
Here is some code to open gzip-compressed file encoded as utf-8 'file.gz' in text mode

gzip.open('file.gz', 'rt', encoding='utf-8')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.