You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Git repository index version: 2 (verified with git update-index --show-index-version)
I’m encountering an issue when using Aider, a programming tool that relies on GitPython to interact with my Git repository. When starting Aider, I get the following error:
"Unable to read staged files: 'utf-8' codec can't decode byte 0xf5 in position 18: invalid start byte"
Because of this error, I’m forced to run Aider with the --no-git option to bypass Git integration.
My repository primarily contains legacy Delphi 7 code, with files encoded in Windows-1252.
If I understand correctly, GitPython assumes files are in UTF-8 by default, but this doesn’t match my files’ encoding. Given the legacy nature of the project and the large number of files, converting them all to UTF-8 is not a viable solution for me.
There are any solutions in this case?
Thank you.
The text was updated successfully, but these errors were encountered:
Environment:
I’m encountering an issue when using Aider, a programming tool that relies on GitPython to interact with my Git repository. When starting Aider, I get the following error:
"Unable to read staged files: 'utf-8' codec can't decode byte 0xf5 in position 18: invalid start byte"
Because of this error, I’m forced to run Aider with the --no-git option to bypass Git integration.
My repository primarily contains legacy Delphi 7 code, with files encoded in Windows-1252.
If I understand correctly, GitPython assumes files are in UTF-8 by default, but this doesn’t match my files’ encoding. Given the legacy nature of the project and the large number of files, converting them all to UTF-8 is not a viable solution for me.
There are any solutions in this case?
Thank you.
The text was updated successfully, but these errors were encountered: