-
Notifications
You must be signed in to change notification settings - Fork 36
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
LSP server: missing decoding of percent-encoded URI's into filenames #1169
Comments
With VSCode, we get the following error:
|
Here is some part of /tmp/lambdapi_lsp_log.txt:
There is a difference between the uri and the actual filename. In uri's, accents are replaced by some special character sequences. But, later, lambdapi is asked to read files whose names are built from the uri. Uri's need to be translated to normal filenames. |
We should use pct_decode in https://ocaml.org/p/uri/2.0.0/doc/Uri/index.html wherever an uri is used as a filename: new_doc, check_text in lp_doc. |
In Emacs, I get the following error when I am opening a file with some require command in a directory whose path contains non-ascii characters:
The text was updated successfully, but these errors were encountered: