- 1
How to fix it?
Added fonts in woff and woff2 format. Visual Studio Code writes, "The file is not displayed in the editor because it is either binary or uses an unsupported text encoding. Do you want to open it anyway?". I open the file and there are strange characters, the encoding on this file is utf-8. Brackets defines this encoding as windows-1252. Restarting did not help, installing the hexdump plugin did not help either.
6 Antworten
+ 2
It didn’t help, it turns out that fonts do not work in all projects, I checked on two computers.
+ 1
so what you wanted to do with the font ? install it to vscode for editor font ? or use it in a project ?
i mean its a font file, simply open it doesnt really do anything.
+ 1
Taste Install this font for the site text in my project and the code editor cannot read it.
0
Where did you add those woff fonts? On Windows? I don´t know anything about them.
0
Fernando Pozzetti I downloaded them to the site, added them to the project folder.
0
ooh, dont worry you dont need to install it.
you can directly use them in the web page using css
https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face