hi,

I am trying to hack on vim's codebase but there is something I dont get, 
that is the value of MB_MAXBYTES defined at:
https://github.com/vim/vim/blob/c17e66c5c0acd5038f1eb3d7b3049b64bb6ea30b/src/vim.h#L1771

Here is the description:
====
/// character of up to 6 bytes, or one 16-bit character of up to three bytes 
/// plus six following composing characters of three bytes each. 
#define MB_MAXBYTES 21
/// Maximum number of bytes in a multi-byte character. It can be one 32-bit 
====

I understand that 3 + 6 * 3 = 21 but I don't get how we can input a 
multibyte character of 21 bytes ? In what encoding/way is it possible ?

Cheers

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/92f5d462-d469-4237-b2f4-242a98b2be85o%40googlegroups.com.

Raspunde prin e-mail lui