Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find unicode characters that are not utf8 in VS Code?

I have unicode characters that I can't see, that are not utf8, I need to spot them.

I used the extension Highlight Bad Chars (Kevin Wenger) but it's not sufficient, in particular, I don't know which are these characters and I don't want to have to define them in advance.

How can I do this with VScode ?

like image 619
Soleil Avatar asked Sep 27 '20 20:09

Soleil


1 Answers

Find [^\x00-\x7f] and Check use regular expressions.

Taken from Kon Blog

like image 82
pvilas Avatar answered Sep 20 '22 08:09

pvilas