Skip to content

invalid-character (E011)

This rule is turned on by default.

What it does

Checks for the use of invalid characters in source code (except strings and comments)

Why is this bad?

The Fortran standard only supports the basic ASCII character set (a-z, A-Z, 0-9, and some punctuation), and all the main compilers will error on non-ASCII characters, for example letters with diacritics or accents (except in comments or string literals).