note 69542 added to function.mysql-client-encoding
| From: | PedroPereira at osu1 dot php dot net | Date: | Sat, 09 Sep 2006 14:30:46 +0000 |
| Subject: | note 69542 added to function.mysql-client-encoding | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116958@lists.php.net to get a copy of this message | ||
All I had to do to save utf8 data with php mysql_query() was to go to the php.ini and put
default_charset = "utf-8". Without this I had the same problems some of you have. Plus,
all my mysql charsets vars are in 'utf8'. (Changed them with Mysql Admin Tool)
Didnt use any mysql SET **** command at all.
Mysql 4.1.20
PHP 4.4.4
Win XP
Hope this help some of you.
----
Server IP: 81.92.200.26
Probable Submitter: 87.196.3.82
----
Manual Page -- http://www.php.net/manual/en/function.mysql-client-encoding.php
Edit -- https://master.php.net/note/edit/69542
Del: integrated -- https://master.php.net/note/delete/69542/integrated
Del: useless -- https://master.php.net/note/delete/69542/useless
Del: bad code -- https://master.php.net/note/delete/69542/bad+code
Del: spam -- https://master.php.net/note/delete/69542/spam
Del: non-english -- https://master.php.net/note/delete/69542/non-english
Del: in docs -- https://master.php.net/note/delete/69542/in+docs
Del: other reasons-- https://master.php.net/note/delete/69542
Reject -- https://master.php.net/note/reject/69542
Search -- https://master.php.net/manage/user-notes.php