23
14
This function is same as CHAR_LENGTH().
29
28
The LENGTH function returns the length of the string argument in bytes. A multi-byte character counts as multiple bytes. This means that for a string containing a three-byte character, LENGTH() returns 3, whereas CHAR_LENGTH() returns 1. For example:
37
36
The is because the Euro sign is encoded as 0xE282AC in UTF-8 and thereby occupies 3 bytes.