I am using Visual Studio Code for coding but my PHP file is now corrupted and 70% of the code is missing. When I try to open it it says "The file is not displayed in the editor because it is binary or uses an unsupported text encoding". When I open it, there? The symbol the code should be in. I tried opening it with different text editors and the result is the same. Is there any way to solve this problem? Any help would be greatly appreciated.
P粉8284636732024-04-04 00:14:20
In most cases, plain text files will not display such a message. If it is overwritten, it may not be repairable. (Hard if possible.)
So you may need to learn how to use git
. (Such as github
)