UTF-8 æååä¸ã« UTF-8 ã¨ãã¦æ£ãããªãã³ã¼ããå ¥ã£ã¦ããå ´åã«ããã®æåãã?ããªã©ã«ç½®ãæããããã¨ãããã¾ãã ãã¨ãã° MySQL ã«ç»é²ããã¨ãã¯ä¸æ£ãªæåãæ¶ãã¨ããªãã¨ããã®æå以éãã¹ã¦æ¶ãã¦ãã¾ãã¾ãã mysql> insert into t (c) values (0x414243FF58595A); Query OK, 1 row affected, 1 warning (0.06 sec) Warning (Code 1366): Incorrect string value: '\xFFXYZ' for column 'c' at row 1 mysql> select * from t; +------+ | c | +------+ | ABC | +------+ 1 row in set (0.00 sec)ã¨ãããã¨ã§ãRuby ã§ã¯ Ic
{{#tags}}- {{label}}
{{/tags}}