Search code examples
unicodecharactersanitizationblacklist

What Unicode characters are dangerous?


What Unicode characters (more precisely codepoints) are dangerous and should be blacklisted and prohibited for the users to use? I know that BIDI override characters and the "zero width space" are very prone to make problems, but what others are there?

Thanks


Solution

  • Characters aren’t dangerous: only inappropriate uses of them are.

    You might consider reading things like:

    It is impossible to guess what you mean by dangerous.