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
commit 110b3db59ec1470b69c4baa80eda5984516b4cb7 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(
