René's URL Explorer Experiment


Title: Non-ASCII char support for Windows terminals · Issue #622 · microsoft/vscode-java-debug · GitHub

Open Graph Title: Non-ASCII char support for Windows terminals · Issue #622 · microsoft/vscode-java-debug

X Title: Non-ASCII char support for Windows terminals · Issue #622 · microsoft/vscode-java-debug

Description: When launching in integrated/external terminal, the debugger passes commands to vscode, and vscode assembles and sends it to the terminal. But if there's non-ascii char in code/path, the java process will have unexpected behavior, becaus...

Open Graph Description: When launching in integrated/external terminal, the debugger passes commands to vscode, and vscode assembles and sends it to the terminal. But if there's non-ascii char in code/path, the java proce...

X Description: When launching in integrated/external terminal, the debugger passes commands to vscode, and vscode assembles and sends it to the terminal. But if there's non-ascii char in code/path, the java p...

Opengraph URL: https://github.com/microsoft/vscode-java-debug/issues/622

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Non-ASCII char support for Windows terminals","articleBody":"When launching in integrated/external terminal, the debugger passes commands to vscode, and vscode assembles and sends it to the terminal. But if there's non-ascii char in code/path, the java process will have unexpected behavior, because of bad Unicode support in Windows. \r\n\r\nEither VS Code or the extension should do something to cover these cases. \r\n\r\n## Example\r\nFolder structure:\r\n```bash\r\n中文目录\r\n├── Hello.class\r\n└── Hello.java\r\n0 directories, 2 files\r\n```\r\n\r\nContent of file `中文目录/Hello.java`:\r\n```java\r\npublic class Hello {\r\n  public static void main(String[] args) {\r\n    System.out.println(\"中文\");\r\n  }\r\n}\r\n```\r\n\r\n### a) on Mac OSX\r\nWorks as expected\r\n```bash\r\n$> java -cp 中文目录 Hello\r\n中文\r\n```\r\n### b) on Windows\r\n#### Non-ASCII char in classpath\r\nClasspath is not correctly recognized by Java, if it contains non-ascii char.\r\n```cmd\r\nD:\\Test>java -cp 中文目录 Hello\r\nError: Could not find or load main class Hello\r\n```\r\n\r\n#### Non-ASCII char in stdout\r\ncd into the folder, the classpath is correctly recognized now, but the terminal fails to print non-ascii chars. \r\n```cmd\r\nD:\\Test>cd 中文目录\r\n\r\nD:\\Test\\中文目录>java -cp . Hello\r\nä??æ??\r\n```\r\nTo display non-ascii char in Windows terminals, you have to modify the `code page`, see https://ss64.com/nt/chcp.html\r\n\r\nWorkaround: set code page to 65001 (utf-8)\r\n```cmd\r\nD:\\Test\\中文目录>chcp 65001\r\nActive code page: 65001\r\n\r\nD:\\Test\\中文目录>java -cp . Hello\r\n中文\r\n```\r\n\r\n\r\n","author":{"url":"https://github.com/Eskibear","@type":"Person","name":"Eskibear"},"datePublished":"2019-08-07T03:26:29Z","url":"https://github.com/microsoft/vscode-java-debug/issues/622"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e2518ac9-3e10-a821-f033-fc0532d45e11
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idED3C:22FDB5:1A8FF6:23BC6B:6B073B01
html-safe-nonce88e2e3503325b7e6d9205e45f0f35f6f60db3cdfe9886f3f107f809df55dbf22
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDNDOjIyRkRCNToxQThGRjY6MjNCQzZCOjZCMDczQjAxIiwidmlzaXRvcl9pZCI6Ijg3NTU5NTIxNzM3NTU4NzQwNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac347102ea7b895ce4f0bc98b09bc0141425c789687f1bd97564d14fce3b94390e
hovercard-subject-tagissue:477687268
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-java-debug/622/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6c4fd16004aca3278a2c9a15e508909e6b269c643c5087541d7e564b435051a8/microsoft/vscode-java-debug/issues/622
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6c4fd16004aca3278a2c9a15e508909e6b269c643c5087541d7e564b435051a8/microsoft/vscode-java-debug/issues/622
og:image:altWhen launching in integrated/external terminal, the debugger passes commands to vscode, and vscode assembles and sends it to the terminal. But if there's non-ascii char in code/path, the java proce...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEskibear
hostnamegithub.com
expected-hostnamegithub.com
Noned97a1befc96fc1512839eca15eb541061d491301144c9168e2985a8580319a49
turbo-cache-controlno-preview
go-importgithub.com/microsoft/vscode-java-debug git https://github.com/microsoft/vscode-java-debug.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id102584737
octolytics-dimension-repository_nwomicrosoft/vscode-java-debug
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id102584737
octolytics-dimension-repository_network_root_nwomicrosoft/vscode-java-debug
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released28643426bfe8d1692f8788961b8217e9003f493
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/vscode-java-debug/issues/622#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-java-debug%2Fissues%2F622
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-java-debug%2Fissues%2F622
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fvscode-java-debug
Reloadhttps://github.com/microsoft/vscode-java-debug/issues/622
Reloadhttps://github.com/microsoft/vscode-java-debug/issues/622
Reloadhttps://github.com/microsoft/vscode-java-debug/issues/622
microsofthttps://github.com/microsoft
vscode-java-debughttps://github.com/microsoft/vscode-java-debug
Codehttps://github.com/microsoft/vscode-java-debug
Issues202 (202)https://github.com/microsoft/vscode-java-debug/issues
Pull requests7 (7)https://github.com/microsoft/vscode-java-debug/pulls
Discussionshttps://github.com/microsoft/vscode-java-debug/discussions
Actionshttps://github.com/microsoft/vscode-java-debug/actions
Wikihttps://github.com/microsoft/vscode-java-debug/wiki
Security and qualityhttps://github.com/microsoft/vscode-java-debug/security
Insightshttps://github.com/microsoft/vscode-java-debug/insights
https://github.com/microsoft/vscode-java-debug
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-java-debug/issues/622
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-java-debug/issues/622
#1077https://github.com/microsoft/vscode-java-debug/pull/1077
Non-ASCII char support for Windows terminalshttps://github.com/microsoft/vscode-java-debug/issues/622#top
#1077https://github.com/microsoft/vscode-java-debug/pull/1077
https://github.com/Eskibear
https://github.com/testforstephen
encodinghttps://github.com/microsoft/vscode-java-debug/issues?q=state%3Aopen%20label%3A%22encoding%22
https://github.com/Eskibear
Yan Zhang (Eskibear)https://github.com/Eskibear
on Aug 7, 2019https://github.com/microsoft/vscode-java-debug/issues/622#issue-477687268
https://ss64.com/nt/chcp.htmlhttps://ss64.com/nt/chcp.html
https://github.com/Eskibear
Yan Zhang (Eskibear)https://github.com/Eskibear
on Sep 2, 2019https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-526984574
Launching BAT for UTF-8 fix is incompatible with Security Policies disallowing BAT execution. #646https://github.com/microsoft/vscode-java-debug/issues/646
Debugger just broken with git bash as default shell on windows. #642https://github.com/microsoft/vscode-java-debug/issues/642
incomplete command for launching debuggee in integrated terminal #614https://github.com/microsoft/vscode-java-debug/issues/614
Failed to launch debuggee in terminal. Reason: Failed to launch debuggee in terminal. Reason: java.util.concurrent.TimeoutException: timeout #651https://github.com/microsoft/vscode-java-debug/issues/651
Yan Zhang (Eskibear)https://github.com/Eskibear
on Sep 2, 2019https://github.com/microsoft/vscode-java-debug/issues/622#event-2599790739
Jinbo Wang (testforstephen)https://github.com/testforstephen
on Jul 24, 2020https://github.com/microsoft/vscode-java-debug/issues/622#event-3582752207
https://github.com/Eskibear
Yan Zhang (Eskibear)https://github.com/Eskibear
on Nov 13, 2020https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-726643295
https://user-images.githubusercontent.com/2351748/99049957-6f8fff80-25d2-11eb-8a66-ed96906082f6.png
https://github.com/testforstephen
Jinbo Wang (testforstephen)https://github.com/testforstephen
on Jan 19, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-762880118
Yan Zhang (@Eskibear)https://github.com/Eskibear
https://github.com/Eskibear
Yan Zhang (Eskibear)https://github.com/Eskibear
on Jan 20, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-763267959
Jinbo Wang (@testforstephen)https://github.com/testforstephen
https://github.com/NinelieZ
NinelieZhttps://github.com/NinelieZ
on Feb 3, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-772197334
https://user-images.githubusercontent.com/44182970/106695042-bbbc7000-6614-11eb-9f57-0ff78a7e3ba1.png
https://github.com/imba-tjd
imba-tjdhttps://github.com/imba-tjd
on May 29, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-850830592
https://user-images.githubusercontent.com/24759802/120071319-50197980-c0c1-11eb-836b-dfe574124111.png
https://github.com/Eskibear
Yan Zhang (Eskibear)https://github.com/Eskibear
on May 31, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-851202067
https://github.com/imba-tjd
imba-tjdhttps://github.com/imba-tjd
on May 31, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-851235630
https://user-images.githubusercontent.com/24759802/120149588-8586aa00-c21c-11eb-831a-e894d789788c.png
https://user-images.githubusercontent.com/24759802/120149878-e9a96e00-c21c-11eb-9041-a0e79868096e.png
https://user-images.githubusercontent.com/24759802/120150167-4ad14180-c21d-11eb-825f-4e0fc26b8027.png
https://user-images.githubusercontent.com/24759802/120150782-0f834280-c21e-11eb-89ef-794ba50973a5.png
https://github.com/Eskibear
Yan Zhang (Eskibear)https://github.com/Eskibear
on May 31, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-851328810
https://user-images.githubusercontent.com/2351748/120165987-b7087100-c22e-11eb-9b55-c07224f2290c.png
https://user-images.githubusercontent.com/2351748/120166182-e9b26980-c22e-11eb-9e96-cc6ae98f650b.png
https://user-images.githubusercontent.com/2351748/120166595-50d01e00-c22f-11eb-8ccc-28254fe5b982.png
Jinbo Wang (@testforstephen)https://github.com/testforstephen
https://github.com/imba-tjd
imba-tjdhttps://github.com/imba-tjd
on May 31, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-851334650
Yan Zhang (Eskibear)https://github.com/Eskibear
encodinghttps://github.com/microsoft/vscode-java-debug/issues?q=state%3Aopen%20label%3A%22encoding%22
on Jun 1, 2021https://github.com/microsoft/vscode-java-debug/issues/622#event-4822482917
Yan Zhang (Eskibear)https://github.com/Eskibear
Yan Zhang (Eskibear)https://github.com/Eskibear
Jinbo Wang (testforstephen)https://github.com/testforstephen
on Jun 1, 2021https://github.com/microsoft/vscode-java-debug/issues/622#event-4822483066
https://github.com/testforstephen
Jinbo Wang (testforstephen)https://github.com/testforstephen
on Jun 1, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-851772990
Yan Zhang (@Eskibear)https://github.com/Eskibear
imba-tjdhttps://github.com/imba-tjd
https://user-images.githubusercontent.com/44182970/106695042-bbbc7000-6614-11eb-9f57-0ff78a7e3ba1.png
https://github.com/imba-tjd
imba-tjdhttps://github.com/imba-tjd
on Jun 1, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-851774655
https://github.com/testforstephen
Jinbo Wang (testforstephen)https://github.com/testforstephen
on Jun 1, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-851793281
https://github.com/imba-tjd
imba-tjdhttps://github.com/imba-tjd
on Jun 1, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-851810562
https://user-images.githubusercontent.com/24759802/120267730-22a61900-c2d7-11eb-8543-1641150ff767.png
https://user-images.githubusercontent.com/24759802/120270566-6bac9c00-c2dc-11eb-8910-f4facbac084d.png
https://user-images.githubusercontent.com/24759802/120270404-21c3b600-c2dc-11eb-8843-f74653316a00.png
https://github.com/Eskibear
Yan Zhang (Eskibear)https://github.com/Eskibear
on Jun 1, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-851866120
https://user-images.githubusercontent.com/2351748/120273182-bc25f880-c2e0-11eb-89cc-df2fbc681e79.png
https://user-images.githubusercontent.com/2351748/120273766-83d2ea00-c2e1-11eb-80d5-10701b3fd842.png
https://user-images.githubusercontent.com/2351748/120273753-80d7f980-c2e1-11eb-9ab2-8d5f4becdd6d.png
https://user-images.githubusercontent.com/2351748/120276180-f2657700-c2e4-11eb-9b9d-da35c87a62e9.png
https://user-images.githubusercontent.com/2351748/120277541-c21ed800-c2e6-11eb-8b2a-2e6d05a16827.png
https://github.com/Eskibear
Yan Zhang (Eskibear)https://github.com/Eskibear
on Jun 1, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-851871122
https://github.com/imba-tjd
imba-tjdhttps://github.com/imba-tjd
on Jun 1, 2021https://github.com/microsoft/vscode-java-debug/issues/622#issuecomment-851876661
https://user-images.githubusercontent.com/24759802/120280017-bda7ee80-c2e9-11eb-9a8d-d907082da774.png
microsoft/terminal#4551https://github.com/microsoft/terminal/issues/4551
Jinbo Wang (testforstephen)https://github.com/testforstephen
completedhttps://github.com/microsoft/vscode-java-debug/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#1077https://github.com/microsoft/vscode-java-debug/pull/1077
on Nov 19, 2021https://github.com/microsoft/vscode-java-debug/issues/622#event-5643553733
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/vscode-java-debug/issues/622
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/vscode-java-debug/issues/622
Yan Zhang (Eskibear)https://github.com/Eskibear
Jinbo Wang (testforstephen)https://github.com/testforstephen
encodinghttps://github.com/microsoft/vscode-java-debug/issues?q=state%3Aopen%20label%3A%22encoding%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.