#16619 [Asn->WFx]: mysql module build-in binary-release doesn't support GBK charset
| From: | georg@php.net | Date: | Thu, 13 Mar 2003 09:15:47 +0000 |
| Subject: | #16619 [Asn->WFx]: mysql module build-in binary-release doesn't support GBK charset | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35495@lists.php.net to get a copy of this message | ||
ID: 16619
Updated by: georg@php.net
Reported By: Xuefer at 21cn dot com
-Status: Assigned
+Status: Wont fix
Bug Type: MySQL related
Operating System: win
PHP Version: 4.2.0
Assigned To: zak
New Comment:
This will be fixed in PHP 5 (with a new bundled lib).
If you need other charsets like default latin1 use an external
libmysql.
Previous Comments:
------------------------------------------------------------------------
[2002-06-18 05:32:17] derick@php.net
Should be working as soon as the MySQL client libs are upgraded.
Assigning this to Zak as he's going to update it.
------------------------------------------------------------------------
[2002-04-15 22:28:19] Xuefer at 21cn dot com
Sorry, I don't agree with u, so I open it again
it's really the problem of client, not MySQL-server
i've tested in linux, source-package
installed MySQL with GBK support
and install php using bundled MySQL lib
--------------------------
--with-mysql[=DIR]
PHP 4: Include MySQL support. DIR is the MySQL base directory. If
_unspecified_, the _bundled_ MySQL library will be used. This option is
turned on by default.
--------------------------
there's no ctype-gbk.c in ext/mysql/libmysql.
and the client complain about "no such charset"
this is how the binary-package of php for win built, right?
is this problem i described clear enough?
but another relative problem:
build-in charset is so big, with a huge array,
i don't know if the build-in charset is a MUST in client, but it DID
complain about it!
maybe this is MySQL problem not PHP :(
temp-solution for php-win:
"copy charset\latin1.conf to charset\gbk.conf"
this should have been told to users who prefer to GBK charset, agree?
------------------------------------------------------------------------
[2002-04-15 12:40:47] sander@php.net
I think this is a MySQL problem, not a PHP problem.
------------------------------------------------------------------------
[2002-04-15 12:40:19] sander@php.net
I think this is a MySQL problem, not a PHP problem.
------------------------------------------------------------------------
[2002-04-15 08:57:12] Xuefer at 21cn dot com
when MYSQL use GBK as default charset
the following error logged in apache
File 'c:\mysql\\share\charsets\gbk.conf' not found (Errcode: 2)
Character set '#28' is not a compiled character set and is not
specified in the 'c:\mysql\\share\charsets\Index' file
error.log get bigger and bigger by filling these rubbish message!
multi-byte charset in mysql-client can only be build in
not charsets\gbk.conf
binary-release should provoide as much as possible ability, right ?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16619&edit=1