Back to Intellij Community

NonAsciiCharacters

platform/platform-resources-en/src/inspectionDescriptions/NonAsciiCharacters.html

2025.3-rc-2341 B
Original Source

Reports code elements that use non-ASCII symbols in an unusual context.

Example:

  • Non-ASCII characters used in identifiers, strings, or comments.
  • Identifiers written in different languages, such as myСollection with the letter C written in Cyrillic.
  • Comments or strings containing Unicode symbols, such as long dashes and arrows.