I've tried to do the welcome task to learn how to commit files.
It turns out I'm unable to do that. After clicking Commit a message pops up:
Failed to detect original file encoding. Cannot save commit with unknown encoding
No matter what text I paste I always get the same message.
Community moderators have prevented the ability to post new answers.
I had the same error and it appears that the encoding issue was in the filename field. This happened when I copy/pasted from the example which likely bought over non UTF-8 characters. Try clearing and then typing in the filename manually.
This worked. I changed the name of the file and then it fixed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I solved it by editing the file locally and then pushed the code to the remote repository.
Now whenever you make any new change to the same file on the remote server you won't receive this error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure how it is supposed to help me. They talk about a bug that is not yet fixed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Learn why Compass was built to tackle dev experience at scale. See how Atlassian uses it to boost visibility, reduce cognitive load, and drive consistency—plus tips to get started and customize your IDP for stronger team engagement.
Join the webinar ✨Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.