Skip to content

Instantly share code, notes, and snippets.

@seeschloss seeschloss/gist:5412485
Last active Dec 16, 2015

Embed
What would you like to do?
MySQL [plop]> create table test (str varchar(255), str2 text);
Query OK, 0 rows affected (0.18 sec)
MySQL [plop]> insert into test (str, str2) values ('plop', 'plop2');
Query OK, 1 row affected (0.00 sec)
MySQL [plop]> select * from test;
+------+-------+
| str | str2 |
+------+-------+
| plop | plop2 |
+------+-------+
1 row in set (0.00 sec)
MySQL [plop]> insert into test (str, str2) values ('πŒŠπŒ‰πŒ‹πŒ‹ πŒπŒ‰πŒ‹πŒ‹', 'plop2');
Query OK, 1 row affected, 1 warning (0.02 sec)
MySQL [plop]> select * from test;
+------+-------+
| str | str2 |
+------+-------+
| plop | plop2 |
| | plop2 |
+------+-------+
2 rows in set (0.00 sec)
MySQL [plop]> insert into test(str, str2) values('prout', 'πŒŠπŒ‰πŒ‹πŒ‹ πŒπŒ‰πŒ‹πŒ‹');
Query OK, 1 row affected, 1 warning (0.01 sec)
MySQL [plop]> select * from test;
+-------+-------+
| str | str2 |
+-------+-------+
| plop | plop2 |
| | plop2 |
| prout | |
+-------+-------+
3 rows in set (0.01 sec)
MySQL [plop]> insert into test(str, str2) values('ééé', 'ΓŸΓŸε»–');
Query OK, 1 row affected (0.01 sec)
MySQL [plop]> select * from test;
+--------+---------+
| str | str2 |
+--------+---------+
| plop | plop2 |
| | plop2 |
| prout | |
| ééé | ΓŸΓŸε»– |
+--------+---------+
4 rows in set (0.00 sec)
MySQL [plop]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.