microsoft / microsoft/winget-cli

Unicode command-line argument parsing

Open
#2,411 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

When I copy-paste the exact name of a package as reported by search containing Unicode characters, I can't install it.

Steps to reproduce
PS C:\Users\mate> winget search opencl
Name                                   Id           Version Source
--------------------------------------------------------------------
OpenCL™ and OpenGL® Compatibility Pack 9NQPSL29BFFF Unknown msstore
PS C:\Users\mate> winget install 'OpenCL™ and OpenGL® Compatibility Pack'
No package found matching input criteria.
Expected behavior

Have the package actually install

Actual behavior

CLI bails out

Environment
Windows Package Manager (Preview) v1.4.2011-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.795
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.2011.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

Start by reproducing the Unicode package-name search and install commands shown in the issue, using the reported Windows Package Manager version and Windows environment. Trace the CLI argument-parsing entry point involved in the install command; done means the exact copied package name resolves and installs instead of returning “No package found matching input criteria.”

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.