If there is any comments written in Chinese, the module will throw an error.
Traceback (most recent call last):
File "D:\456\akamTester\akamTester.py", line 113, in
fastHosts = Hosts()
File "%AppData%\Local\Programs\Python\Python37\lib\site-packages\python_hosts\hosts.py", line 144, in init
self.populate_entries()
File "%AppData%\Local\Programs\Python\Python37\lib\site-packages\python_hosts\hosts.py", line 433, in populate_entries
hosts_entries = [line for line in hosts_file]
File "%AppData%\Local\Programs\Python\Python37\lib\site-packages\python_hosts\hosts.py", line 433, in
hosts_entries = [line for line in hosts_file]
UnicodeDecodeError: 'gbk' codec can't decode byte 0xbf in position 2: illegal multibyte sequence
If there is any comments written in Chinese, the module will throw an error.