MySQL's utf8 has *at* *most* 3 byte per codepoint

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352076 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-12-14 19:14:32 +00:00
parent ee4558e955
commit d2dd88a60c

View file

@ -79,8 +79,8 @@
<entry>
The width of the field, in bytes, as specified in the table definition. Note that
this number (bytes) might differ from your table definition value (characters), depending on
the character set you use. For example, the character set utf8 has 3 bytes per character,
so varchar(10) will return a length of 30 for utf8 (10*3), but return 10 for latin1 (10*1).
the character set you use. For example, the character set utf8 has up to 3 bytes per character,
so varchar(10) can return a length of up to 30 for utf8 (10*3), but returns 10 for latin1 (10*1).
</entry>
</row>
<row>