å²ã¨ç§ä¿¡ãããå¦æ ¡ã®å®é¨ãã¿ï¼id:omochistãMySQL×JDBC×JSP:文字コードã§å°ã£ã¦ããã¤ï¼
AWDwRãã±ãã±ãã¨ããã£ã¦ã¦è¦ã¤ãããã ãã©ï¼ãã£ã±ãMySQLã®ããã©ã«ãã¨ã³ã³ã¼ãã£ã³ã°ãlatin1ãªã¨ãã¯æ¬¡ã®ããã«create databaseããªãã¨æ¥æ¬èªãã¾ãè¡ããªããããï¼
create database hoge default character set utf8;
ãããï¼best practiceã£ã½ãï¼ãã¡ã¯çµå±my.cnfã«
[mysqld] default-character-set = utf8
ã¨æ¸ãã¦ããã©ã«ãã§UTF-8ã«ãªãããã«ããï¼å¸¸èãªããããããªããã©ï¼ä¸¸è °ãã調ã¹ããããã¨æéããã£ãåé¡ï¼