This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch dw/8605
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/dw/8605 by this push:
     new 11d6ad694 fixup! [#8605] Use C.UTF-8 locale instead of en_US.UTF-8 for 
SVN export
11d6ad694 is described below

commit 11d6ad6945bf1fa3dfb05a2f6e0fbb48f5a8baaf
Author: Dillon Walls <[email protected]>
AuthorDate: Wed May 13 16:57:01 2026 +0000

    fixup! [#8605] Use C.UTF-8 locale instead of en_US.UTF-8 for SVN export
---
 ForgeSVN/forgesvn/model/svn.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ForgeSVN/forgesvn/model/svn.py b/ForgeSVN/forgesvn/model/svn.py
index 906cb53a6..b58d6daaf 100644
--- a/ForgeSVN/forgesvn/model/svn.py
+++ b/ForgeSVN/forgesvn/model/svn.py
@@ -709,8 +709,9 @@ def tarball(self, commit, path=None):
         path = os.path.join(self._url, path)
         try:
             # need to set system locale to handle all symbols in filename
-            import locale
-            locale.setlocale(locale.LC_ALL, 'C.UTF-8')
+            # NOTE: we will assume the system is configured with a utf8 
capable locale
+            # import locale
+            # locale.setlocale(locale.LC_ALL, 'C.UTF-8')
             self._svn.export(path,
                              tmpdest,
                              revision=pysvn.Revision(

Reply via email to