Re: weird mysql problem on linux, international chars truncates varchar
Posted by: Ryan Thompson
Date: September 05, 2006 06:19AM

One more followup; inserting the correct data directly as string works, even though inserting the same data as a function result does not. Following the previous test case, you will see that the first insertion (by function) is truncated, though the absolute string is stored correctly.

mysql> insert into test.cc values('testテスト');
Query OK, 1 row affected (0.00 sec)

mysql> select * from test.cc;
+------------+
| a |
+------------+
| test |
| testテスト |
+------------+
2 rows in set (0.00 sec)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: weird mysql problem on linux, international chars truncates varchar
1887
September 05, 2006 06:19AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.