Hosts bugs when comments in Chinese

Copper Contributor

There are hosts bugs when comments in Chinese.

127.0.0.1 whoami1.local # zzz
127.0.0.1 whoami2.local # 中文
127.0.0.1 whoami3.local # 中文文
127.0.0.1 whoami4.local # 中文文文
127.0.0.1 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
Hi,
are you using the correct encoding for the hosts file when using those characters?