Mikael wrote:
> You are using a character set utf8 that uses 3 bytes per character.
> Thus each
> varchar needs 768 bytes.
> 768 * 11 = 8448 > 8052
That explains a thing or two! Thanks! I always thought that the 8 in utf8 was how many bits it used, i.e., 1 byte per character.
For more information on character sets, issue the command
show character set;
in mysql. This confirms that UTF-8 takes 3 bytes. Also see chapter 10 in the reference manual (at least in the version 5.0 manual, it's chapter 10; it's at
http://dev.mysql.com/doc/refman/5.0/en/charset.html).
*Our* next question will be how to find our way through 36 character sets and choose the right one for an application to be distributed internationally (Western and Arab world for now, not Far East at the moment). Input appreciated. We'll find an answer anyway. Immediately I'm thinking we'll adopt to utf8 or use ucs2; we may consider binary.
Yours, Ole