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

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


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

commit 4bb6a4922edcf1f5a00474bc58e4bf09f5838735
Author: Dillon Walls <[email protected]>
AuthorDate: Wed May 13 14:48:21 2026 +0000

    [#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 278f4bf4b..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, 'en_US.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