ãã¡ãã§è¦ã¤ãã¾ããã å ·ä½çã«ã¯ app/config/database.php 㧠'encoding'=>'ã¯ã©ã¤ã¢ã³ãã®æåã³ã¼ã' ã追å ãã¦ããã°ããã¿ããã§ãã ããããã¨å é¨çã« SET NAMES ãå®è¡ãã¦ãããã£ã½ãã§ãã ã¡ãªã¿ã«ãæ®éã®PHPãã¯ã©ã¤ã¢ã³ããã使ãã¨ã㯠SET NAMES utf8 ã¨ããããã«SET NAMESã§ã¯ã©ã¤ã¢ã³ãã®æåã³ã¼ããæå®ãã¦ããã°ããããã§ãã ãããã®SET NAMESã¯èå¼±æ§ãããããããPHPããã®ä½¿ç¨ã¯ãã¾ãé²ãããã¦ãªãããã§ãã å¤ããã«PHP5.2.3ããæ°ãã«è¿½å ããã mysql_set_charset() ã使ãã®ãããããã¿ããã§ãã ããã辺ã®è弱製ããã¿ã®æ å ±ã¯ãã¡ãã¨ãã¡ãåç §ã«ãã¾ããã ã¾ããã¨ãã£ã¦ãcakePHPã®å ´å SET NAMES使ã£ã¦ãããã§ãèªåã§ãã¬ã¼ã ã¯ã¼ã¯ã®ã³ã¢é¨åç´ã
{{#tags}}- {{label}}
{{/tags}}