3 ms·
Code point has script property and mixing it inside strings which aren't likely to contain multiscript code points (like filenames) is a sign of trouble.
by adobriyan 15y ago
Code point has script property and mixing it inside strings which aren't likely to contain multiscript code points (like filenames) is a sign of trouble.
- cbr 15y agoThen I could spell "hosts" entirely with cyrillic characters. (I'm not sure if it's possible with the word "hosts", but there's probably some word.)
- adobriyan 15y agoMaybe you could. Anyway you could do it right now as well. I doubt there is an acceptable non-heuristic solution.
- xentronium 15y agoFilenames can contain multiscript code points. E.g.: "Архив.gz" (Archive.gz)
- pavel_lishin 15y agoBut do default windows ones? I think (hope?) that the hosts file is hosts on every system, no matter which country or locale you selected - instead of, say, хозяин. Perhaps limit system folders and files to ascii-only. Doesn't solve any of the picjpg.exe issues, but it's a start.
- xentronium 15y agoTo be honest, I don't think it solves the problem of system file being modified by a process of unknown origin.