MySQLã§ã¯ã¾ã£ãã㨠MySQLã®æååã ä»ããä½ãã£ã¦ãã®ã³ã¤ãã¨ãããè¨ããªãã æåã³ã¼ãã確èªããSQLæãSHOW VARIABLES LIKE âchar%â;ã MySQL4.1以éã¯ãµã¼ãã¨ã¯å¥ã«ã¯ã©ã¤ã¢ã³ãã®æåã³ã¼ããè¨å®ããã¦ããã ã¯ã©ã¤ã¢ã³ãããµã¼ãéã§éãæåã³ã¼ããã»ããããã¦ããã¨ãä¸åº¦ucs2å¤æãéãã ãã£ã¦ãã¯ã©ã¤ã¢ã³ãããµã¼ãéã§éãæåã³ã¼ããæå®ãããã¨ã¨ãªãæååããèµ·ããå¯è½æ§ãããã PHPã¯my.cnfã§[mysql]ã[client]ãè¨å®ããããã¯ã©ã¤ã¢ã³ãã®æåã³ã¼ãã¯ãã«ãæã«æå®ããããã£ã©ã¯ã¿ã»ãã(é常latin1)ã my.cnfã®è¨å® [mysql] default-character-set = utf8 [mysqld] default-character-set = utf8 mysqlã¯ã©ã¤ã¢ã³ããããã§
{{#tags}}- {{label}}
{{/tags}}