Skip to content

Conversation

@testforstephen
Copy link
Contributor

This requires microsoft/vscode-java-debug#1077

This project is an implementation of DAP, it's better to keep encoding neutral. It's the client's responsibility to determine what encoding to use to launch user's application.

cs = Charset.defaultCharset();
}
String source = readFile(filePath, cs);
String source = readFile(filePath);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When parsing Java source files, let's keep using the same encoding as JDT language server.

@testforstephen testforstephen merged commit 934d6cb into microsoft:main Nov 19, 2021
@testforstephen testforstephen deleted the jinbo_encoding branch November 19, 2021 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants