You mean with `git commit`? That is weird, you should be able to commit UTF-8 encoded file. You should check your settings and ask the Internet to fix it.