leiyc
leiyc

Reputation: 963

How to show non-ASCII characters in Visual Studio Code

Is there a setting in Visual Studio Code that helps showing non-ASCII characters in the editor?

I met compilation errors with such non-ASCII characters hidden in C++ code:

error: stray '\302' in program

Upvotes: 1

Views: 6475

Answers (1)

Mohammad
Mohammad

Reputation: 21

Try the Gremlins extension.

It reveals some characters that can be harmful, because they are invisible or looking like legitimate ones. It was inspired by Sublime Gremlins.

Upvotes: 2

Related Questions