note 73325 added to function.mysqli-connect

From: Date: Sun, 18 Feb 2007 07:52:46 +0000
Subject: note 73325 added to function.mysqli-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-123530@lists.php.net to get a copy of this message
Yes, it's totally odd that php.ini doesn't seem to allow you to global specify the client connection as utf-8. You might try this in the my.cnf file [client] default-character-set=utf8 [mysqld] default-character-set=utf8 It didn't work for me, but others may have better luck. In the end I had to specify in the php code as noted below. ---- Server IP: 61.195.146.164 Probable Submitter: 221.133.67.191 ---- Manual Page -- http://www.php.net/manual/en/function.mysqli-connect.php Edit -- https://master.php.net/note/edit/73325 Del: integrated -- https://master.php.net/note/delete/73325/integrated Del: useless -- https://master.php.net/note/delete/73325/useless Del: bad code -- https://master.php.net/note/delete/73325/bad+code Del: spam -- https://master.php.net/note/delete/73325/spam Del: non-english -- https://master.php.net/note/delete/73325/non-english Del: in docs -- https://master.php.net/note/delete/73325/in+docs Del: other reasons-- https://master.php.net/note/delete/73325 Reject -- https://master.php.net/note/reject/73325 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#123530) next »