Posted By

f6design on 02/25/11


Tagged

utf8


Versions (?)

Put a mysql connection into UTF-8 mode


 / Published in: MySQL
 

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.

  1. SET NAMES 'utf8'

Report this snippet  

You need to login to post a comment.