December 31, 2004

UTF-8 and MySQL

When using MySQL's UTF-8 character set, besides setting the database character set to UTF-8, you must remember to send SET NAMES 'utf8' to MySQL prior to querying or inserting. Forgetting to do will surely cost you a substantial amount of hair, sleep, and sanity.

Posted by torque at December 31, 2004 12:22 AM | TrackBack
Post a comment

Remember personal info?