microsoft / microsoft/winget-cli

`winget export` not writing file if path contains emoji

Open
#5,813 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.