From f7d97c2c79cad333280642d2ce8ebcba7b2485ec Mon Sep 17 00:00:00 2001 From: LeRatierBretonnier Date: Wed, 24 Jun 2026 10:10:15 +0200 Subject: [PATCH] fix: use C.UTF-8 instead of C locale for svn subprocess (breaks non-ASCII filenames) --- svn_mirror/git_to_svn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svn_mirror/git_to_svn.py b/svn_mirror/git_to_svn.py index ce31155..a9c21de 100644 --- a/svn_mirror/git_to_svn.py +++ b/svn_mirror/git_to_svn.py @@ -96,7 +96,7 @@ def _run_svn(args: list, input: bytes = None, timeout: int = 120, """Run an svn command. If *wc* is given, run from that directory.""" if auth_args: args = auth_args + args - env = {**os.environ, "LC_ALL": "C"} + env = {**os.environ, "LC_ALL": "C.UTF-8"} try: r = subprocess.run( ["svn"] + args,