Skip to content

Commit 5699c13

Browse files
authored
Merge pull request #49 from xarx00/PR-UnicodeEncodeError
Change force_bytes to use UTF-8 encoding by default
2 parents f356e12 + d829152 commit 5699c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitdb/utils/encoding.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
def force_bytes(data, encoding="ascii"):
1+
def force_bytes(data, encoding="utf-8"):
22
if isinstance(data, bytes):
33
return data
44

0 commit comments

Comments
 (0)