Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On Linux, how could you make standard tools highlight or differentiate potentially misleading characters?

I guess the solution would have to be in the terminal emulator? Would a blacklist of Unicode ranges be sufficient?



A "safe" font that renders Cyrillic characters as a box?

Change my system back to ASCII? :-)


od -h -- I used to run into this problem a lot when I was writing grammars against different locales


I'm aware of od, xxd, etc.

I'm wondering if there's a way to make it more obvious that doesn't require running od. It should be immediately apparent any time there's a file with a whacky name, not something you find out two minutes into investigating a compromise.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: