This query works fine:
set character_set_client = utf8
Same goes for utf8mb4, big5, dec8, cp850, hp8, koi8r, latin1, latin2, swe7, ascii, ujis, sjis, hebrew, etc.
However, when I tried set character_set_client = utf16 or set character_set_client = utf32, they don't work:
#1231 - Variable 'character_set_client' can't be set to the value of 'utf16'
#1231 - Variable 'character_set_client' can't be set to the value of 'utf32'
Why don't the commands work?
How can we make MySQL character_set_client work with utf16/32?
5.5.40-0ubuntu0.12.04.1. MySQL docs only stateducs2cannot be used: dev.mysql.com/doc/refman/5.0/en/… . weird eh, I'm suspecting it's a multibyte thing, though the MySQL docs is severely undocumented.show character setis showing bothutf16andutf32.