MySQL Forums
Forum List  »  Newbie

Re: Is saving blob data concerned with charset?
Posted by: Yao Yao
Date: December 16, 2010 02:10AM

Thanks for your reply. The translation happened during insertion.
After some test, I found a solution:
1) Set MySQL server's default charset to utf8.
2) Set the specific table or field's charset to gbk or someother which has some advantages, e.g, the sorting.
3) Pay attention to the procedure's parameters which type is varchar or text, use < charset gbk > if needed.

I'll use some time to read the connector's source to find the real reason.

Options: ReplyQuote


Subject
Written By
Posted
Re: Is saving blob data concerned with charset?
December 16, 2010 02:10AM


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.