How to change the encoding of all illegitimate characters in Visual Studio Code at once?

Solution 1:

Problem solved: Just explicitly define encoding in HTML files with:

<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>