In the version of the above mysql5.0
UTF-8: a character equal to 3 bytes, a byte is English
GBK: a character equal to 2 bytes, a byte is English
I was in utf-8:
select * from sys_user where length(`name`)<=3
result:
select * from sys_user where length(`name`) =3
result: