In C's <limits.h>
or C++'s <climits>
is defined a macro constant MB_LEN_MAX
which is described as being:
maximum number of bytes in a multibyte character
The way I understand this is, is that it represents either the maximum size of a character (2 bytes in Java) or perhaps the biggest character literal you can make, eg. '\n'
being 2 bytes and '\uFFFF'
being 6 bytes.
Does anybody know what the "maximum number of bytes in a multibyte character" is in Java and if it is defined somewhere in the language specification?