mirror of
https://github.com/neovim/neovim.git
synced 2026-09-01 20:03:47 +00:00
To get an UTF-8 character, utf_ptr2char() is used. But this function can read more than maxlen bytes, if an incomplete byte sequence is used(first byte specifies a length > maxlen).