| Posted by Emil on 06/02/06 07:40 
ncix napisał(a):> i have unicode support mysql database with  data.
 > how i can retrieve this data in  php page i have tried using simple sql
 > query but it shows only "???????????" characters
 >
 > regards
 > ncix
 >
 You have to set client library encoding to unicode.
 E.g. mysql_query('SET NAMES utf8') after every connection to database.
 You can check current encoding by calling mysql_get_client_encoding();
 And, of course check if the fields in database and web page have proper
 encoding.
 grtz. Emil
  Navigation: [Reply to this message] |