Hello Git mailing list,
The core issue is:
- A gitignore made via PowerShell, which used a UTF-16 LE encoding
- Git silently ignores the global gitignore, since it wasn't UTF-8 encoding
- An end user loses a lot of time understanding this nuance
This behavior is not a bug, but I would consider it to be one, since it has a negative outcome.
It looks like in the above linked issue:
- A Git for Windows maintainer suggested to email this list. I don't think that issue's OP ever emailed this list, so I am doing so now
- The maintainer also detailed a starting point in the issue after closing it
I think Git should either:
- Start supporting UTF-16 LE
- Issue a warning for non-supported encodings
Please consider this as a feature request,
-James