file not displayed in text editor binary unsupported encoding

for some files when working with git, I suddenly get this message

What can I do? it seems to be related to visual studio code only!!
Last edited on
Also, if the file is UTF-16, not plain ASCII or UTF-8, Git may treat it as a "binary" file 🤔
Last edited on
Topic archived. No new replies allowed.