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
Thanks for this wonderful issue! I am sorry to say that dealing with encodings is a mess in GitPython. The examples above seem to indicate that it tries to see things as strings but doesn't get their encoding right. Probably it should just use UTF-8 instead of gbk.
Maybe as a workaround, the default encoding of the python interpreter can be set to utf-8.
Environmental Information
Windows10
Python3.8
GitPython 3.1.24
Error 1
Chinese path:
git.Repo.clone_from(url="[email protected]:xun-mi-git/test-x.git", to_path="C:\\Users\\asus\\3D Objects\\个人项目\\test")
Error message
screenshot
Error 2
Chinese branch:
Error message
screenshot
The text was updated successfully, but these errors were encountered: