MySQL ã UTF-8 ã§ä½¿ããã¨æã£ã¦ããããã¡ãªã®ã¯ charset utf8 ãæå®ãã¦ãã¾ããã¨ã§ãã MySQL ã® UTF-8 ã«ã¯æ´å²çäºæ ã«ãã utf8 㨠utf8mb4 ã®äºã¤ããã¾ãã UTF-8 ã¯1ãã¤ãã4ãã¤ãã§1æåãæ§æãããæåã³ã¼ãã§ãããMySQL ã® utf8 ã¯4ãã¤ãæåãæ±ããã¨ãã§ãã¾ãããããããããªããã° utf8mb4 ã使ãã¾ãããã utf8 ã使ã£ã¦ãã¾ã£ãå ´åã«4ãã¤ãæåãã©ã®ããã«æ±ãããããèªåã§ãããè¦ãã ã£ãã®ã§ã¡ã¢ãã¦ããã¾ãã ç»é² æ¥ç¶ã utf8mb4 ã§ã«ã©ã ã utf8mb4 ãããã¾ãã§ããããã®ã¾ã¾ç»é²ããã¾ãã mysql> insert into utf8mb4 (c) values ('ç¾å³ããð£ã¨ðº'); mysql> select * from utf8mb4; +--------
{{#tags}}- {{label}}
{{/tags}}