microsoft / microsoft/winget-cli
`winget export` not writing file if path contains emoji
Open
Nobody has claimed this yet.
Command-Export
Issue-Bug
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names the WinGet CLI and the winget export command, but no source file or test. First reproduce winget export .\test⚠️\packages.json, then trace how the export path is handled. Done means an export successfully writes the requested file when its path contains an emoji.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100