The following is my new best friend, an "invisible" character with dec value 194 160, hex value C2 A0: .
While this GitHub Issues website probably renders it as a normal space (hex 20), it is in reality the UTF-8 "NO-BREAK SPACE" character.
See entry number 2 in the "Encodings" table at https://en.wikipedia.org/wiki/Non-breaking_space.
I've also attached file c2a0-demo.txt which contains an address with the problematic character.
EmailValidator considers an email address like j.doe @example.com, with C2 A0 in front of the @ symbol, as valid, while j.doe @example.com, with a "normal" hex 20 space in front of the @, is considered invalid.
The following is my new best friend, an "invisible" character with dec value
194 160, hex valueC2 A0:.While this GitHub Issues website probably renders it as a normal space (hex 20), it is in reality the UTF-8 "NO-BREAK SPACE" character.
See entry number 2 in the "Encodings" table at https://en.wikipedia.org/wiki/Non-breaking_space.
I've also attached file c2a0-demo.txt which contains an address with the problematic character.
EmailValidator considers an email address like
j.doe @example.com, withC2 A0in front of the@symbol, as valid, whilej.doe @example.com, with a "normal" hex 20 space in front of the@, is considered invalid.