ãããªç¥èããªããã¼ã¿ãã¼ã¹ä½¿ã£ã¦ãããã ããããããããããªããè¯ããªãããªãã ã¨ããããæè¿ã¢ã¦ãããããå°ãªãã®ã§ãåå¿ã«å¸°ã£ã¦èª¿ã¹ããã¨ãã¡ã¢ã MySQLã¯4.1ããcharã¨ãvarcharã¨ãã®ãã¨ã«ã¤ãã¦ãæ°å(char(10)ã®10ï¼ããã¤ãæ°ããæåæ°ã«ãªã£ãã¨èãã¦ããã®ã«æåãå¤ãªã¨ããã§ãã§ã³åããããããããããªãã¨æã£ã¦ããã ã¡ãã£ã¨èª¿ã¹ã¦ã¿ãä¸ã§ç®ã«ããé¢æ°ã試ãã«ä½¿ã£ã¦ã¿ãã¨ãæåæ°ãè¿ãã¯ãã®character_length()ã§ãã¤ãæ°ã¿ãããªæ°åãè¿ã£ã¦ããããcharset()ãããã¨latin1ã£ã¦è¿ã£ã¦ããããã ããããã¼ãããutf8ãããªããâ¦â¦ã¨ããçµè«ã«ãªã£ãã ã¾ã¼ãã¼ã¿èªä½ã¯utf8ã®ã³ã¼ãã§ä¿åããã¦ãããã ãããã©ãMySQLå ã§ã®æ±ããlatin1ã£ã¦ãã¨ããªãRailsã§ãmysqlã§ãåããªãã£ãã£ã¦ãã¨ã¯ã mysq
{{#tags}}- {{label}}
{{/tags}}