Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Saving corrupts css file. #14599
I saved a simple css file and the next time I opened the project I got the error "Unknown encoding format." If I open the file with any other editor it just contains gibberish on a single line.
I've used notepad++ to try and convert it/open it, and I've tried to use file recovery utilities. I have no idea what happened but here are 4 other issues with the same problem:
I'd just like advice for how to get the data back.
Steps to Reproduce
I don't know how to reproduce it. I'm not even sure what happened.
Expected behavior: I expected the file to be fine.
Actual behavior: It's corrupted.
Windows 10 Home
The file was corrupted. And there is no cache from where you can recover an already saved file. I tried to reproduce the issue several times, even with other types of files, and force quitting the application, but it didn't work.
Can you think of anything else which might help us to figure out what exactly went wrong?