News for hackers. Stuff that matters.
Re:How UTF-8 Works by pvorb on Tuesday February 08, 2022 @06:30PM (#30266390)
The compiler can raise a warning about bad characters. It can't detect all problems, but it certainly can help with some.

It's not the type system, but many dynamic languages are interpreted instead of compiled.

Re:How UTF-8 Works by dotancohen on Wednesday February 09, 2022 @03:09AM (#30270201)
Those bad characters are fed into the program long long after the compiler has done its job.
Re:How UTF-8 Works by pvorb on Wednesday February 09, 2022 @06:06PM (#30279996)
Not necessarily? I'm talking about constant string literals in source code which can be validated at compile time.