반응형
CHARSET 25 CHARSET(str) Returns the character set of the string argument.
mysql> SELECT CHARSET('abc'); -> 'latin1'
mysql> SELECT CHARSET(CONVERT('abc' USING utf8)); -> 'utf8'
mysql> SELECT CHARSET(USER()); -> 'utf8'
반응형
CHARSET 25 CHARSET(str) Returns the character set of the string argument.
mysql> SELECT CHARSET('abc'); -> 'latin1'
mysql> SELECT CHARSET(CONVERT('abc' USING utf8)); -> 'utf8'
mysql> SELECT CHARSET(USER()); -> 'utf8'