Skip to content

Commit 1da1c39

Browse files
We don't all speak english (cyclotruc#171)
Co-authored-by: Romain Courtois <romain@coderamp.io>
1 parent e86032e commit 1da1c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gitingest/query_ingestion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _get_encoding_list() -> list[str]:
6969
List of encoding names to try in priority order, starting with the
7070
platform's default encoding followed by common fallback encodings.
7171
"""
72-
encodings = ["utf-8", "utf-8-sig"]
72+
encodings = ["utf-8", "utf-8-sig", "latin"]
7373
if platform.system() == "Windows":
7474
encodings.extend(["cp1252", "iso-8859-1"])
7575
return encodings + [locale.getpreferredencoding()]

0 commit comments

Comments
 (0)