Description
[provide a description of the issue]
Environment
- Operating System: windows 10.0.19044 Build 19044
- JDK version: jdk-11.0.12.7-openj9
- Visual Studio Code version: 1.62.3
- Java extension version: 1.1.0
- Java Debugger extension version: 0.37.0 - 2021-11-24
Steps To Reproduce
I type chcp, it shows 65001 since it is the one for windows cmd to show accents. My vscode shows utf-8 in the bottom right. It wont show the accents at all, it just removes it from displaying the string. The only way to "fix it" is to do chcp 1252 which now fixes it. It used to work just fine yesterday and in the last 2 months but since i had issues with windows language keyboards it started happening.... My windows is set to accept UTF-8 worldwide language support....
Idk what to do to permanently fix it like it used to be.... The only fix I could think of is forcing chcp 1252 when I run any java files but idk what to do anymore....
I tried changing dectect locale to on/off/auto and it doesnt work either. I tried integrated or external terminal and it doesnt seem to want to force it to my CMD (I tried running a test java to see if it works on CMD and it does)
PS C:\Users\Alex\Documents\Java> & 'C:\Program Files\Semeru\jdk-11.0.12.7-openj9\bin\java.exe' '-agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:51701' '-cp' 'C:\Users\Alex\AppData\Roaming\Code\User\workspaceStorage\546c1e2d180863c743a32792d9653675\redhat.java\jdt_ws\Java_57fe1ceb\bin' 'BIGBOSS.conceptPOO.Exercices.cours2.AlexandreP_ex04'
Current Result (Sysout)
tudiant
Mathmatique
Expected Result (Sysout)
Étudiant
Mathématique