- 1 year ago
Unicode filenames not preserved on windows when downloading zip of gitlab repo
When downloading a ZIP archive of a GitLab repository on Windows, the preservation of Unicode filenames depends on various factors, including the versions of Git, GitLab, and the ZIP utility you are using. Here are a few potential solutions to address the issue:
Update Git and GitLab: Ensure that you are using the latest versions of Git and GitLab, as newer versions often include improvements and bug fixes related to Unicode filename handling.
Use a Git Client with Unicode Support: Try using a Git client that has better support for Unicode filenames. For example, Git for Windows (https://gitforwindows.org/) provides a command-line Git client with improved Unicode support compared to older versions.
Enable UTF-8 Support in Git Configuration: Configure Git to use UTF-8 encoding for filenames by setting the
core.quotepath
configuration option. Open a command prompt and run the following command:shellgit config --global core.quotepath false
Try Different ZIP Utility: If the issue persists, try using a different ZIP utility to extract the downloaded archive. Some ZIP utilities have better support for Unicode filenames on Windows. For example, you can try 7-Zip (https://www.7-zip.org/) or WinRAR (https://www.rarlab.com/).
By following these steps, you may be able to improve the preservation of Unicode filenames when downloading a ZIP archive of a GitLab repository on Windows. However, please note that complete support for Unicode filenames may depend on the specific tools and versions you are using.