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

> It's really difficult to do the right thing here.

There is a fairly good solution to this for things like code editors and URLs or search strings in browsers: If a string contains a non-ASCII code point that is a homograph for an ASCII character, swap the text and background colors.



I meant the right approach to designating code points.


In today's lesson, wodenokoto learned that real life is infinitely more complicated than San Francisco startups would have you believe.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: