microsoft / microsoft/vscode-java-debug

VSCODE wont show french accents properly (they dont even appear) even on UTF-8

Ouverte
#1,090 11 commentaires 0 réactions 1 personne assignée Voir sur GitHub

@testforstephen y travaille déjà.

Depuis le 29/11/2021.

ai-triaged bug encoding
Langage dominant
TypeScript
Étoiles
591
Forks
429
Merge moyen
1 j 9 h
PR mergées (30 j)
19

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

Additional Informations

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.