microsoft / microsoft/winget-cli
Mojibake in the "WinHttpSendRequest: 12002" error message in the fr-FR locale.
Nobody has claimed this yet.
- 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
An image speaks a thousand words in this case, (un?)fortunately.
———————————————————————————
("winget --info" screenshot:)
Steps to reproduce
It's not the easiest to reproduce, but:
- Set Windows 11 26H1 to fr-FR.
- Ensure that Azure VPN Client is not installed.
- Soon after booting the PC, open PowerShell 5 in Windows Terminal.
- As the first command after opening it, run
winget install 9NP355QT2SQBto attempt to install Azure VPN Client. - It may or may not show a
WinHttpSendRequest: 12002:error. - 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
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
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