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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rom at electron dot kirovograd dot ua
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Thu Nov 28 10:01:29 2024 UTC