My Windows's locale is Chinese/Code Page 936. When I create a patch by Tortoise SVN (even if the Tortoise SVN is in English UI), it create a patch file with header like this:
Index: C:/mypath/myfile.txt
===================================================================
--- C:/mypath/myfile.txt (版本 3174)
+++ C:/mypath/myfile.txt (工作副本)
The characters (工作副本)
in header is GBK(CP936) encoded. And my myfile.txt
is a UTF-8 file, so the content of the patch is UTF-8 encoded. The whole patch file is mixed encoded, which is bad.
How can I make the patch's header be in English and ASCII?