microsoft/winget-cli

`winget export` not writing file if path contains emoji

Opened this issue · 1 comments

Relevant area(s)

WinGet CLI

Relevant command(s)

winget export

Brief description of your issue

Whenever the output path of winget export contains an emoji, nothing is written.

Steps to reproduce

winget export .\test⚠️\packages.json

Expected behavior

file to be written

Actual behavior

nothing written

Environment

Windows Package Manager v1.11.510
Windows: Windows.Desktop v10.0.26100.6899
Package: Microsoft.DesktopAppInstaller v1.26.510.0

The following issues might be duplicates:

AI-generated content by genai-issue-dedup may be incorrect.