Reports non-Basic Latin characters in literals and comments. The inspection provides a fix to replace such characters with Unicode escapes in literals, and with HTML entities in comments.

示例:


  // © 2021
  char c = '©';
  String s = "Áî";

在应用快速修复后:


  // © 2021
  char c = '\u00a9';
  String s = "\u00c1\u00ee";
默认情况下,此检查不会在编辑器中高亮显示,而仅提供修正。