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

UTF-8 characters in source seems to throw off source positioning #64

Open
thoni56 opened this issue May 18, 2021 · 0 comments
Open

UTF-8 characters in source seems to throw off source positioning #64

thoni56 opened this issue May 18, 2021 · 0 comments
Labels

Comments

@thoni56
Copy link
Owner

thoni56 commented May 18, 2021

Repeat by creating or using a source file with UTF-8 (non-ascii) character in it.

Probably the multiple bytes that that character is stored in creates an offset which the editor (Emacs) adjusts for, so a variable rename breaks since the validation of the position is off by 'n' depending on how many non-single bytes there are in the source.

@thoni56 thoni56 added the bug label May 18, 2021
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

1 participant