microsoft / microsoft/vscode-python-debugger

Unicode character missing when passed via args in launch.json

Open
#769 2 comments 0 reactions 1 assignee View on GitHub

@eleanorjboyd is already working on this.

Since Aug 14, 2025.

triage-needed
Dominant language
TypeScript
Stars
181
Forks
126
Avg merge
2d 3h
Merged PRs (30d)
3

Description

Python Debugger: 2025.10.0
Python: 3.12.11
VS Code Version: 1.99.3 (system setup)
OS: Windows_NT x64 10.0.19045

python file

import sys

if __name__ == '__main__':
    a = sys.argv[1]
    print(a)

launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python Debugger: Current File",
            "type": "debugpy",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "args": [
                "真・侍.txt"
            ]
        }
    ]
}

This prints "真侍.txt" and "・" is missing.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.