Skip to content

VSCode Java UTF-8 does not print characters to the console #1203

Open
@itayasaf1990xd

Description

@itayasaf1990xd

[provide a description of the issue]

Environment
  • Operating System: Windows 10
  • JDK version: 11
  • Visual Studio Code version: 1.69.2
  • Java extension version: Microsoft Java Pack v0.25.0
  • Java Debugger extension version: latest
Steps To Reproduce

I have a problem with encoding Java System Output occurring only in Visual Studio Code.
Like you can see in the image below bullet print as ?
Eclipse and IntelliJ print the bullet point just fine.
My program is very simple:

  1. [step 1]
    image

[attach a sample project reproducing the error]
attach logs

Current Result

I made sure chcp is UTF-8
image

image

Expected Result

image

Additional Informations

The chcp inside VSCode terminal is Active code page: 65001
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions