Always highlight character [Solved]



We have a project that multiple developers work on.
One developer in particularly adds an illegal character that breaks the project when it’s published on the server.

This character is the single quote that his keyboard outputs.

this is the illegal chracter => ’
this is the correct character => ’

To the eye, we barely see any difference.

I was wondering if there was a package or an option that would always warn or highlight certain characters in the code.

Thank you


If the character is illegal as program (but legal in a string), then a linter for your language should detect amongs other thing that the string definition or character definition is improper.


I think this is what you’re looking for.


This is it. Thanks!