title: Regexp to check if code contains non-UTF-8 characters?
body: <p>I am using PMD, checkstyle, findbugs, etc. in Sonar. I would like to have a rule verifying that Java code contains no characters not part of UTF-8.</p>
  
  <p>E.g. the character � should not be allowed</p>
  
  <p>I could not find a rule for this in the above plugins, but I guess a custom rule can be made in Sonar.</p>