Bug #16619 Updated: mysql module build-in binary-release doesn't support GBK charset
| From: | Xuefer at 21cn dot com | Date: | Tue, 16 Apr 2002 02:28:19 +0000 |
| Subject: | Bug #16619 Updated: 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-5079@lists.php.net to get a copy of this message | ||
ID: 16619
Updated by: Xuefer@21cn.com
Reported By: Xuefer@21cn.com
-Status: Bogus
+Status: Open
Bug Type: MySQL related
Operating System: win
PHP Version: 4.2.0
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[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@21cn.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