PHP-MySQLéã§ã®æååãã«ã¤ãã¦ã åé¡ç¹ PHPãMySQLã¨ãã«UTF-8ã§æ§æãã¦ããã®ã«ãDBã¨ã®ãã¼ã¿åã渡ãã§æååããèµ·ããï¼ããããä»ã®æåã³ã¼ãã§ãåæ§ï¼ã 対å¿ç ä¸è¨ã©ã¡ããã®å¯¾å¿ãå®æ½ããã ãã®1 DBæ¥ç¶ãã¨ã«ãå¦çå®è¡åã«ãSET NAMES UTF8ãã¨ããã¯ã¨ãªãçºè¡ããã ãã®2 my.cnfãã¡ã¤ã«ã®è¨å®ãä¸è¨ã®ããã«å¤æ´ããã #character-set-server = latin1 // å ã ãããã®ãã³ã¡ã³ãã¢ã¦ã #collation-server = latin1_general_ci // å ä¸ default-character-set=utf8 // æ°ãã追å ãã skip-character-set-client-handshake // å ä¸ å®è¡æã®ç°å¢ Windows 2000 XAMPP 1.6.1 PH
{{#tags}}- {{label}}
{{/tags}}