💻 Software
How can I create a zip / tgz in Linux such that Windows has proper filenames?
Fresh5 days ago
Mar 15, 202635836 viewsConfidence Score0%
0%
Problem
Currently, encodes filenames in UTF, so Windows users see all characters spoiled in filenames which are not english, and can do nothing with it. has the same behavior. How can I create a zip / tgz archive so when Windows users extract it will have all filenames encoded properly?
Error Output
tar -zcf arch.tgz files/*
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I create a zip / tgz in Linux such that Windows has proper filenames?
Low Risk
Currently, tar encodes filenames in UTF Actually tar doesn't encode/decode filenames at all, It simply copies them out of the filesystem as-is. If your locale is UTF-8-based (as in many modern Linux distros), that'll be UTF-8. Unfortunately the syst…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix