by TacticalCoder · 5y ago · 0 comments
Then build/commit/test hooks could be used to enforce that source code files are indeed 100% ASCII.
I know, I know... Some are going to lament they don't have their shiny Unicode symbols right in their source file. But... It looks like you get what you pay for.
Bruce Schneier wrote it when Unicode came out btw: "Unicode is too complex to ever be secure".
It's astounding to me that there's room for such complexity in it. I thought it was just a lot of symbols. What other rules does Unicode have besides changing the order sometimes?
I'll leave it up to others to discuss how important this is or isn't.
Seems to me that if you need to put code in the comments, you've got a bigger problem. I know people like tab hints and lint overrides, but maybe it is time to focus on separation of concerns at a higher level?
No, because the exploit line doesn't contain a comment. It just looks like it does.
It might not be ideal for you, but you can always use escape codes in your string literals so it is at least possible to avoid all non-ascii characters in your code.