PhpStorm 2020.2 Help

Code Inspection: Non-ASCII characters

This inspection warns you of the code accidentally written in the wrong encoding.
For example,

  • Non-ASCII characters used in the names/strings/comments or

  • Identifiers written in different languages (e.g. when in the variable " my ollection " the letter written in Cyrillic) or

  • Unicode symbols used in comments or strings (e.g. long dashes and arrows in the comment " // a !a please note ")

Last modified: 08 May 2020