mirror of
https://git.proxmox.com/git/proxmox
synced 2025-04-29 17:03:08 +00:00
![]() this flag marks the file names as 'UTF-8' encoded if they are valid UTF-8. By default, encoding of file names in zips are defined as code page 437, but we save the filenames as bytes (like in linux fs). For linux systems this would not be a problem since most tools simply use the filenames as bytes, but for the zip utility under windows it's important since NTFS uses UTF-16 for file names. For filenames that are valid UTF-8, they are decoded as UTF-8 everywhere correctly (Linux as UTF-8 bytes, Windows as correct UTF-16 sequence) and for other filenames with a high bit set, it depends on the OS/Software what exactly happens. Some cases below: * Windows + Built-in/7zip: decoded as CP437 * Debian + zip: Bytes taken as-is * Debian + 7z: interpreted as Windows1252, decoded as UTF-8 Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> |
||
---|---|---|
.. | ||
debian | ||
src | ||
Cargo.toml |