marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
10.42k stars 338 forks source link

[BUG] Wrong support for unicode with winget in user folder with non ascii characters #2431

Closed msimic closed 4 days ago

msimic commented 4 days ago

Please confirm these before moving forward

UniGetUI Version

3.1.0

Windows version, edition, and architecture

Windows 11 Pro

Describe your issue

UniGetUI somehow deduces that winget should be located in the following path on my computer:

C:\Users\MRS\AppData\Local\Microsoft\WindowsApps\winget.exe

But this is not correct, it somehow replaced the Š with a S. The correct path is:

C:\Users\MRŠ\AppData\Local\Microsoft\WindowsApps\winget.exe

The end result is that UniGetUI cannot find winget and does not work with it (no packages found). It seems it somehow converted the characterset from Windows-1250 to Windows-1252 or something alike to get an S from a Š. But this obviously should not happen and file paths should be treated as unicode.

Steps to reproduce the issue

Have your user named MRŠ Try to use UnigetUI with winget It cannot find winget

UniGetUI Log

N/A

Package Managers Logs

N/A

Relevant information

No response

Screenshots and videos

image

marticliment commented 4 days ago

Duplicate of #2239.

Please downgrade to 3.0.2 until I can fix this issue

marticliment commented 3 days ago

Hello,

To all users facing issues with version 3.1.0, please try the new 3.1.1 beta, which aims to fix this issues.

UniGetUI 3.1.1-beta0 release: https://github.com/marticliment/UniGetUI/releases/tag/3.1.1-beta0 Direct installer URL: https://github.com/marticliment/UniGetUI/releases/download/3.1.1-beta0/UniGetUI.Installer.exe

Excuse me for the inconveniences.