You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: In process explorer if user has UTF-8 / cyrrilic symbols in name it will be displayed by non displayable symbols ("question mark" symbol) #219183
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeededworkbench-diagnosticsGeneral VS Code built-in diagnostic issues
changed the title [-]BUG: In process explorer if user has cyrrilic symbols in name it will be displayed by non displayable symbols ("question mark" symbol)[/-][+]BUG: In process explorer if user has UTF-8 / cyrrilic symbols in name it will be displayed by non displayable symbols ("question mark" symbol)[/+]on Nov 13, 2025
Bug is in method getProcessList of package @vscode/windows-process-tree which returns array of objects with key commandLine which is not correctly handled for multibyte encoding:
Bug is in vscode-windows-process-tree/src/process_commandline.cc. GetProcessCommandLine() passes CP_ACP to WideCharToMultiByte(). Needs CP_UTF8. Cyrillic characters become ?.
Fix: CP_ACP to CP_UTF8. Also microsoft/vscode-windows-process-tree#76.
Can I submit a PR?
I'd like to pick this up. The root cause was fixed upstream in @vscode/windows-process-tree 0.8.0 (microsoft/vscode-windows-process-tree#87 changed the WideCharToMultiByte calls in process_commandline.cc from CP_ACP to CP_UTF8; the module's #76 is closed), but VS Code still pins ^0.7.0 with the lockfile resolving exactly 0.7.0, so the fix never reached the Process Explorer.
Verified both versions side by side on Windows 11 against a process spawned with Cyrillic in its command line:
This bug has been fixed in the latest release of VS Code Insiders!
Serhii Pustovit (@psnet), you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version e586b8a of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeededworkbench-diagnosticsGeneral VS Code built-in diagnostic issues
Activity
[-]BUG: In process explorer if user has cyrrilic symbols in name it will be displayed by non displayable symbols ("question mark" symbol)[/-][+]BUG: In process explorer if user has UTF-8 / cyrrilic symbols in name it will be displayed by non displayable symbols ("question mark" symbol)[/+]psnet commentedon Nov 13, 2025
This bug is in package
@vscode/windows-process-treeused by vs code:https://github.com/microsoft/vscode-windows-process-tree
which is used inside of vs code here:
vscode/src/vs/base/node/ps.ts
Lines 126 to 127 in 0147d46
@vscode/windows-process-treeBug is in method
getProcessListof package@vscode/windows-process-treewhich returns array of objects with keycommandLinewhich is not correctly handled for multibyte encoding:so in key
commandLineinstead of multibyte characters are�symbols.Daniel Imms (@Tyriar) please elevate this bug to related teams
tangyuan0821 commentedon Jun 27, 2026
Bug is in vscode-windows-process-tree/src/process_commandline.cc. GetProcessCommandLine() passes CP_ACP to WideCharToMultiByte(). Needs CP_UTF8. Cyrillic characters become ?.
Fix: CP_ACP to CP_UTF8. Also microsoft/vscode-windows-process-tree#76.
Can I submit a PR?
arham766 commentedon Jul 4, 2026
I'd like to pick this up. The root cause was fixed upstream in
@vscode/windows-process-tree0.8.0 (microsoft/vscode-windows-process-tree#87 changed theWideCharToMultiBytecalls inprocess_commandline.ccfromCP_ACPtoCP_UTF8; the module's #76 is closed), but VS Code still pins^0.7.0with the lockfile resolving exactly 0.7.0, so the fix never reached the Process Explorer.Verified both versions side by side on Windows 11 against a process spawned with Cyrillic in its command line:
Preparing a PR that bumps the dependency to
^0.8.0inpackage.jsonandremote/package.jsonwith regenerated lockfiles.chore: bump windows-process-tree to 0.8.0
chore: bump windows-process-tree to fix UTF-8 command lines in Proces…
vs-code-engineering commentedon Jul 20, 2026
This bug has been fixed in the latest release of VS Code Insiders!
Serhii Pustovit (@psnet), you can help us out by commenting
/verifiedif things are now working as expected.If things still don't seem right, please ensure you're on version e586b8a of Insiders (today's or later - you can use
Help: Aboutin the command palette to check), and leave a comment letting us know what isn't working as expected.Happy Coding!
psnet commentedon Jul 24, 2026
/verified
psnet commentedon Jul 24, 2026
Now vscode's process explorer shows correct UTF-8 symbols in its processes path