-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Labels
Description
Environment:
- VS Code Version: 1.99
- Extension Version: 0.29.0
- JDK Type & Version: OpenJDK 21
- OS Type & Version: FreeBSD 14.2
Step to Reproduce:
Hover on any Java class name or method which has javadoc attached.
Do this on a project whose file encoding is anything other than UTF-8, and where the Java class or method belongs to another project whose javadoc was generated as UTF-8.
Expected Behavior:
Read the javadoc contents according to the javadoc file encoding, not according to the current project file encoding.
The text is displayed consistently.
Actual Behavior:
The javadoc contents are read with the current project file encoding instead of the javadoc file encoding. If they don't match, the text appears garbled (when containing non-ASCII characters).
Related Issues: