Bug #10507: trouble with character set
| From: | rom at electron dot kirovograd dot ua | Date: | Thu, 26 Apr 2001 09:30:44 +0000 |
| Subject: | Bug #10507: trouble with character set | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52479@lists.php.net to get a copy of this message | ||
From: rom@electron.kirovograd.ua
Operating system: Windows 2000 server
PHP version: 4.0.4pl1
PHP Bug Type: MySQL related
Bug description: trouble with character set
When trying to use
default-character-set directive with mysql,
php says: (when trying to connect to mysql server)
Warning: Can't initialize character set 14 (path: default) in k:\www\try.php on line 66
Lines from c:\my.cnf:
character-sets-dir=k:/usr/local/mysql/share/charsets/
default-character-set=cp1251
Mysql works ok, using the cp-1251 charset.
But php can't do it...
Tell me, where I must define the character-sets-dir path for PHP?
Waiting for Your answer, WBR, Rom McRitsky.
--
Edit Bug report at: http://bugs.php.net/?id=10507&edit=1