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
encoding: UTF-32 Assertion Failure #12010
Conversation
Fix neovim crash when editing specific files as UTF-32 encoded. Replaces values above INT_MAX with U+FFFD.
fbcde3a
to
880f4fb
Compare
@bfredl would it be possible for you to take a look at this? |
Code looks fine. Ideally we would have some kind of test for this. Perhaps there are some existing tests for |
could you add a test similar to the last one in test/functional/core/fileio_spec.lua please ? |
Hi sorry, I got a bit derailed by classwork. I'll look into adding tests in the next couple of days. |
Superseded by #16354. |
A fix for #11877. Replaced characters over INT_MAX with U+FFFD, as proposed in the discussion.
Behaviour is now identical to that of
vim -u DEFAULTS
.Test coverage:
Linter: