Skip to content
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

unicode normalization not implemented correctly #1242

Open
bagohart opened this issue Sep 12, 2023 · 0 comments
Open

unicode normalization not implemented correctly #1242

bagohart opened this issue Sep 12, 2023 · 0 comments
Labels

Comments

@bagohart
Copy link

Here's an MWE, save it as test.jl:

= 5
x = Û + 5
print(x)

Using neovim, I input the first using U\hat<Tab>. The second Û is input with a unicode picker as "latin capital letter U with circumflex". https://en.wikipedia.org/wiki/%C3%9B
With julia test.jl from the command line, the program works as expected and outputs 10. Looking at it within neovim, the LSP complains that "missing reference: Û".
One of them is wrong, and I guess it's the LSP.
Using https://docs.julialang.org/en/v1/stdlib/Unicode/#Unicode.isequal_normalized both strings "Û" and "Û" are equal, so that is not the problem.

@pfitzseb pfitzseb changed the title unicode comparison not implemented correctly unicode normalization not implemented correctly Sep 12, 2023
@pfitzseb pfitzseb added the bug label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants