-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON messages going to LS have URIs with non-ASCII chars #358
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A URI to a file named:
ClassWithSpécialCharacter.java
(note non-ASCIIé
in the name) in its string form in the JSON still looks the same withouté
escaped. VSCode LSP client sends this url with file name that looks like:ClassWithSp%C3%A9cialCharacter.java
which is correct. URIs with unicode chars are illegal... The issue I have faced isPaths(URI.create(uriStr))
throwsjava.lang.IllegalArgumentException: Bad escape
Test project with such file: https://github.com/spring-projects/sts4/tree/main/headless-services/spring-boot-language-server/src/test/resources/test-projects/test-annotation-indexing-parent/test-annotation-indexing%20with%20space
The text was updated successfully, but these errors were encountered: