microsoft / microsoft/winget-cli

Mojibake in the "WinHttpSendRequest: 12002" error message in the fr-FR locale.

Open
#6,326 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Localization Command-Install 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 install

Brief description of your issue
Image

An image speaks a thousand words in this case, (un?)fortunately.

———————————————————————————

("winget --info" screenshot:) Image
Steps to reproduce

It's not the easiest to reproduce, but:

  1. Set Windows 11 26H1 to fr-FR.
  2. Ensure that Azure VPN Client is not installed.
  3. Soon after booting the PC, open PowerShell 5 in Windows Terminal.
  4. As the first command after opening it, run winget install 9NP355QT2SQB to attempt to install Azure VPN Client.
  5. It may or may not show a WinHttpSendRequest: 12002: error.
  6. It's that error's message that is this issue report's focus, not the causes of the error.
Expected behavior

The error message shows something like "Le délai imparti l'opération est dépassé"

Actual behavior

The error message shows "Le délai imparti à lâopération est dépassé"

Environment
The current VM I use for 26H1 doesn't support Hyper-V Enhanced Mode, and this textbox doesn't seem to support image pasting. Due to that, see the 2nd image in the "Brief Description" section above.

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 with the WinGet CLI path exercised by winget install 9NP355QT2SQB under the fr-FR reproduction steps, focusing on the WinHttpSendRequest: 12002 message. Trace where its French text is produced, then verify that the timeout message displays accented characters correctly without mojibake.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.