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 "
myCollection
"
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
")