Skip to content

Quick evaluation fails when input contains characters from supplementary planes #837

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

Open
edoardopirovano opened this issue Apr 21, 2021 · 0 comments
Labels
bug Something isn't working VSCode

Comments

@edoardopirovano
Copy link
Contributor

Describe the bug
When selecting QL containing a UTF-32 character from the supplementary planes (i.e. not in UTF-16), Quick Eval always deems this to be an invalid target for quick evaluation.

To Reproduce
Include a QL string "😊" somewhere in a QL file. Select it and try to quick evaluate it.

Expected behavior
Quick evaluation is performed with the string 😊 as a result. Note the output of the engine is not particularly well defined for strings containing characters from the supplementary plane, but we should at least pass the quick eval along for the engine to decide what to do with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working VSCode
Projects
None yet
Development

No branches or pull requests

1 participant