mirror of
https://github.com/neovim/neovim.git
synced 2026-01-17 10:38:57 +10: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).