31
Support and Feedback / Re: Weird file names display
« Last post by Jungle on February 16, 2026, 14:47:07 »nietrupek,
I've created some files. No problems.
I've created some files. No problems.
MultiCommander v15.8 is released!
More likely it is some windows issue, Because the window text draw engine is loaded into each process that is rendering text in the Windows UI.
But I can't check for that since I can't reproduce it
MC just tell window to draw the unicode string. MC does not process., It is using Window built in support for drawing unicode strings.So the problem is outside of MC's control, somewhere in external library.
param([string]$ImagePath)
# Validate file exists
if (-not (Test-Path $ImagePath)) {
Write-Error "File not found: $ImagePath"
exit 1
}
# Set style: Stretch
Set-ItemProperty -Path 'HKCU:\Control Panel\Desktop' -Name WallpaperStyle -Value '2'
Set-ItemProperty -Path 'HKCU:\Control Panel\Desktop' -Name TileWallpaper -Value '0'
# Apply wallpaper via Win32 API
Add-Type -TypeDefinition @"
using System;
using System.Runtime.InteropServices;
public class Wallpaper {
[DllImport("user32.dll", CharSet = CharSet.Auto)]
public static extern int SystemParametersInfo(int uAction, int uParam, string lpvParam, int fuWinIni);
}
"@ -ErrorAction SilentlyContinue
# SPI_SETDESKWALLPAPER = 0x0014 (20)
# SPIF_UPDATEINIFILE | SPIF_SENDCHANGE = 3
[Wallpaper]::SystemParametersInfo(20, 0, $ImagePath, 3)
<#
Style Reference:
Stretch : WallpaperStyle=2, TileWallpaper=0
Fill : WallpaperStyle=10, TileWallpaper=0
Fit : WallpaperStyle=6, TileWallpaper=0
Center : WallpaperStyle=0, TileWallpaper=0
Tile : WallpaperStyle=0, TileWallpaper=1
Span : WallpaperStyle=22, TileWallpaper=0
#>
@var $imgPath = GetSourceFocusPath();
@var $scriptPath = "C:\\Path\\To\\SetWallpaperMCStretch.ps1";
@var $arguments = "-ExecutionPolicy Bypass -WindowStyle Hidden -File \"" + $scriptPath + "\" -ImagePath \"" + $imgPath + "\"";
MC.Run CMD="powershell.exe" ARG="{$arguments}" FLAGS="NOWAIT|NOCONSOLE";


MC just tell window to draw the unicode string. MC does not process., It is using Window built in support for drawing unicode strings.
You can't use zip for unicode filenames, zip is an legacy and old format. normally zip till convert filename to 7/8bit for current code page used, or to UTF-8 if enabled for zip.