Repository: files-community/Files
File: src/Files.App/Data/Models/CompressArchiveModel.cs (C#)

Code before:
		public string GetArchivePath(string suffix = "")
		{
			return Path.Combine(Directory, $"{FileName}{suffix}{ArchiveExtension}");
		}

		/// <inheritdoc/>
		public async Task<bool> RunCreationAsync()
		{
			string[] sources = Sources.ToArray();

			var compressor = new SevenZipCompressor()
			{
				ArchiveFormat = SevenZipArchiveFormat,
				CompressionLevel = SevenZipCompressionLevel,
				VolumeSize = FileFormat is ArchiveFormats.SevenZip ? SevenZipVolumeSize : 0,
				FastCompression = false,
				IncludeEmptyDirectories = true,
				EncryptHeaders = true,
				PreserveDirectoryRoot = sources.Length > 1,
			};

			compressor.CustomParameters.Add("mt", CPUThreads.ToString());
			//Use UTF-8 encoding. 
			//References: 7-zip chm --> Command Line Version --> Switches
			//--> -m --> cu=[off | on].
			//See https://github.com/files-community/Files/issues/17257
			if (FileFormat != ArchiveFormats.SevenZip)
				compressor.CustomParameters.Add("cu", "on");

			compressor.Compressing += Compressor_Compressing;
			compressor.FileCompressionStarted += Compressor_FileCompressionStarted;
			compressor.FileCompressionFinished += Compressor_FileCompressionFinished;

			var cts = new CancellationTokenSource();

			try
			{
				var files = sources.Where(File.Exists).ToArray();
				var directories = sources.Where(SystemIO.Directory.Exists);

				_sizeCalculator = new FileSizeCalculator([.. files, .. directories]);
				var sizeTask = _sizeCalculator.ComputeSizeAsync(cts.Token);
				_ = sizeTask.ContinueWith(_ =>
				{
					_fileSystemProgress.TotalSize = _sizeCalculator.Size;
					_fileSystemProgress.ItemsCount = _sizeCalculator.ItemsCount;
					_fileSystemProgress.EnumerationCompleted = true;
					_fileSystemProgress.Report();
				});

				foreach (string directory in directories)

Review comment (suggestion):
```suggestion
			// Don't add "cu" parameter for 7zip files
			// See https://github.com/files-community/Files/issues/17257
```

Code after:
		public string GetArchivePath(string suffix = "")
		{
			return Path.Combine(Directory, $"{FileName}{suffix}{ArchiveExtension}");
		}

		/// <inheritdoc/>
		public async Task<bool> RunCreationAsync()
		{
			string[] sources = Sources.ToArray();

			var compressor = new SevenZipCompressor()
			{
				ArchiveFormat = SevenZipArchiveFormat,
				CompressionLevel = SevenZipCompressionLevel,
				VolumeSize = FileFormat is ArchiveFormats.SevenZip ? SevenZipVolumeSize : 0,
				FastCompression = false,
				IncludeEmptyDirectories = true,
				EncryptHeaders = true,
				PreserveDirectoryRoot = sources.Length > 1,
			};

			compressor.CustomParameters.Add("mt", CPUThreads.ToString());
			// Use UTF-8 encoding. 
			// References: 7-zip chm --> Command Line Version --> Switches
			// --> -m --> cu=[off | on].
			// Don't add "cu" parameter for 7zip files, see https://github.com/files-community/Files/issues/17257
			if (FileFormat != ArchiveFormats.SevenZip)
				compressor.CustomParameters.Add("cu", "on");

			compressor.Compressing += Compressor_Compressing;
			compressor.FileCompressionStarted += Compressor_FileCompressionStarted;
			compressor.FileCompressionFinished += Compressor_FileCompressionFinished;

			var cts = new CancellationTokenSource();

			try
			{
				var files = sources.Where(File.Exists).ToArray();
				var directories = sources.Where(SystemIO.Directory.Exists);

				_sizeCalculator = new FileSizeCalculator([.. files, .. directories]);
				var sizeTask = _sizeCalculator.ComputeSizeAsync(cts.Token);
				_ = sizeTask.ContinueWith(_ =>
				{
					_fileSystemProgress.TotalSize = _sizeCalculator.Size;
					_fileSystemProgress.ItemsCount = _sizeCalculator.ItemsCount;
					_fileSystemProgress.EnumerationCompleted = true;
					_fileSystemProgress.Report();
				});

				foreach (string directory in directories)