php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10507 trouble with character set
Submitted: 2001-04-26 05:30 UTC Modified: 2001-06-02 22:51 UTC
From: rom at electron dot kirovograd dot ua Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.4pl1 OS: Windows 2000 server
Private report: No CVE-ID: None
 [2001-04-26 05:30 UTC] rom at electron dot kirovograd dot ua
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-02 22:51 UTC] sniper@php.net
This should be fixed with PHP 4.0.5 

-Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 20:01:31 2024 UTC