commit source code into git repository with emacs vc-mode.
I used Chinese characters to write commit message. and push the changeset into github
then all of the Chinese characters changed to be irrecognizable

↓↓↓↓↓↓After push into github↓↓↓↓↓↓↓

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
VC does not know what particular backends use for character encodings (yes, that’s a bug in VC for those backends which do specify that the encoding has to be utf-8), so it probably encoded your comment using your locale’s favorite encoding (say big5) insead of using github’s expected utf-8 (or so I guess).