Hosts bugs when comments in Chinese

Copper Contributor

There are hosts bugs when comments in Chinese. whoami1.local # zzz whoami2.local # 中文 whoami3.local # 中文文 whoami4.local # 中文文文 whoami5.local # 中文文文文


ping whoami1.local normal

ping whoami2.local normal

ping whoami3.local not found host

ping whoami4.local normal

ping whoami5.local not found host


All is normal on Windows 7,2008r2, but Windows 10.


Windows Professional 1903 18362.145

1 Reply
are you using the correct encoding for the hosts file when using those characters?