Problem with inserting 4-bytes utf8 chars into mysql 5.0
Posted by: Lucas Simopoulos
Date: June 15, 2012 07:39AM

Hi,

We have developed an application that stores e-mails into mysql database version 5.0. We change the application from c++ to java, and we are facing a problem with 4-bytes utf8 characters.

Error from mysql-connector-java "Incorrect string value: '\xF0\xAF\xB5\xA0\xE5\xA9...' for column".

Is there any way to ignore the 4-bytes utf8 chars, because in c++ we don't have any problem with the same sequence of characters?

ps We cannot move from version 5.0 to 5.5.

Options: ReplyQuote




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.