Signature
native get_char_bytes(const source[]);
Description
Returns the number of bytes a character is using. This is
for multi-byte characters (UTF-8). For normal ASCII characters,
this will return 1.
Notes
- Only available in 1.8.3 and above.
Parameters
- source — Source input string.
Returns
Number of bytes the current character uses.