Return to Snippet

Revision: 41968
at February 25, 2011 13:24 by f6design

Initial Code
SET NAMES 'utf8'

Initial URL

Initial Description
If you are trying to extract utf8 encoded data from mysql, and it isn't working properly, try executing this command on your mysql connection prior to your select statement.

Initial Title
Put a mysql connection into UTF-8 mode

Initial Tags

Initial Language