Git Shell in Windows: patch's default character encoding is UCS-2 Little Endian - how to change this to ANSI or UTF-8 without BOM?
- by Sk8erPeter
When creating a diff patch with Git Shell in Windows (when using GitHub for Windows), the character encoding of the patch will be UCS-2 Little Endian according to Notepad++ (see the screenshots below).
How can I change this behavior, and force git to create patches with ANSI or UTF-8 without BOM character encoding?
It causes a problem because…