PhpStorm 2020.1 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 C ollection " the letter C 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: 29 May 2020