Mysql
 SQL >> Database >  >> RDS >> Mysql

Rendere una tabella MySQL compatibile con due lingue usando UTF-8

Crea la tabella con charset utf8:

CREATE TABLE IF NOT EXISTS `test` (
  `id` INT(10) NOT NULL,
  `name` VARCHAR(10)
    COLLATE utf8_unicode_ci NOT NULL
) ENGINE=MyISAM
DEFAULT CHARSET=utf8
COLLATE=utf8_unicode_ci;