redhat-developer / redhat-developer/vscode-java
How to input/output Greek characters
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
When using vscode to write a Java program, the input and output of Greek characters are garbled.
Environment
Version: 1.72.0 (system setup)
Commit: 64bbfbf67ada9953918d72e1df2f4d8e537d340e
Date: 2022-10-04T23:20:39.912Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.17763
Sandboxed: No
Java extension version: Extension Pack for Java (v0.25.3)
Steps To Reproduce
[code]
import java.util.Scanner;
public class App {
public static void main(String[] args) throws Exception {
System.out.println("Ένα Δύο Τρία");
Scanner sc = new Scanner(System.in, "utf-8");
String s = sc.nextLine();
System.out.println(s);
sc.close();
}
}
Current Result

Expected Result
The output should match what I typed.
Additional Informations
The DEBUG CONSOLE panel can output normally, but cannot input.

The same code works fine in idea.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied App program in VS Code 1.72.0 on Windows and compare the terminal and DEBUG CONSOLE behavior with IntelliJ IDEA. Investigate the Java extension's handling of non-ASCII input and output, using the DEBUG CONSOLE as the named entry point. Done means Greek characters typed into the program are returned and displayed correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100