How to add non-latin entries in hosts file

Scratch that, punycodes actually do work. This code

127.0.0.1 xn--80atccmdviy

works as expected, it's just that ping for some reason won't find host, probably due to cmd working in CP-1251 instead of UTF-8.


To my knowledge there is no way to use Unicode characters in the windows hosts file