I know this, But I think the variable "character_set_connection" is
unnecessary.
Because the server know the table's encoding, So it can convert the encoding
from "character_set_client" to the table's encoding.
-----Original Message-----
From: Rick James [mailto:rjames@stripped]
Sent: Wednesday, August 08, 2012 2:55 AM
To: Zhigang Zhang; mysql@stripped
Subject: RE: About character_set_*
The answer is long and involved...
http://mysql.rjweb.org/doc.php/charcoll
> -----Original Message-----
> From: Zhigang Zhang [mailto:zzgang2008@stripped]
> Sent: Tuesday, August 07, 2012 3:25 AM
> To: mysql@stripped
> Subject: About character_set_*
>
> Hello.
>
>
>
> As I know, when client send data to server, the encoding converting
> process
> is:
>
>
>
> character_set_client --> character_set_connection --> db table
> encoding.
>
>
>
> I think it is a short path than above way:
>
>
>
> character_set_client --> db table encoding.
>
>
>
> Why it is converted to "character_set_connection"?
>
>
>
>
>
> Yours
>
> Zhigang.