Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Highlight bad charactersNew to Visual Studio Code? Get it now.
Highlight bad characters

Highlight bad characters

Lê Minh Trí

|
1,031 installs
| (0) | Free
Highlight bad characters
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Highlight bad characters

Highlight all non-ascii characters (fork from Highlight Dodgy Characters)

Screenshot

Features

It highlights all the non-ascii characters, including dashes, fancy quotes and emojis.

Whitelisting

You can override the whitelist of characters that will not be highlighted in your workspace or user settings:

"highlightBadCharacters.whitelist": "´€£¡¿äàáâãåǎąăæçćĉčđďðèéêëěęĝģğĥìíîïıĵķĺļłľñńňöòóôõőøœŕřẞßśŝşšșťţþțüùúûűũųůŵýÿŷźžż"

Bonus: Config for Vietnamese characters

"highlightBadCharacters.whitelist": "àáạảãâầấậẩẫăằắặẳẵèéẹẻẽêềếệểễìíịỉĩòóọỏõôồốộổỗơờớợởỡùúụủũưừứựửữỳýỵỷỹđÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸĐ",

Examples

An example file that contains dodgy characters can be found here.

Parent projects

  • Highlight Dodgy Characters
  • Highlight Bad Chars
  • Highlight Dodgy Characters for SublimeText 3
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft