MySQL Forums
Forum List  »  Ruby

Re: MySql+UTF8 woes
Posted by: David Busby
Date: November 17, 2008 05:16AM

This _could_ be an issue with the client using latin1 encoding instead of utf-8 ...


Have you tried a "SET NAMES" call prior to your data insertion?

If this solves the issue and you are using mySQL 5.x you can use init_connect calls to force UTF-8 compliance of all client connections.

A write up is available here on my blog: http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections

Options: ReplyQuote


Subject
Written By
Posted
July 27, 2007 01:48AM
October 30, 2007 09:28AM
Re: MySql+UTF8 woes
November 17, 2008 05:16AM
November 17, 2008 06:45AM


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.