Issue: Backslash vs forward slash in filenames
Solution:
# Normalize paths filename = file.name.gsub('\\', '/')
Issue: Paths exceeding 260 characters
Solution: Enable long path support in Windows 10+ or use UNC paths
Issue: APFS case-sensitive vs case-insensitive
Solution: Be aware of case when extracting files
Issue: Extended attributes not preserved
Solution: Use zip for full macOS compatibility
Issue: File permissions not matching Windows attributes
# Map Windows attributes to Unix permissions mode = 0644 # Default mode = 0444 if file.attributes & 0x01 # Read-only FileUtils.chmod(mode, output_path)
Issue: Filename encoding differences
Solution: Ensure UTF-8 encoding throughout
Encoding Issues
Common Errors