mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
ee4558e955
commit
d2dd88a60c
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue