>Description: If it is compiled with --with-charset=big5 and without --with-extra-charsets, odd messages would be reported by php-4.0.4pl1, as the following: Warning: Can't initialize character set 1 (path: default) in /vhost/book.ljm.qqjane.net/htdocs/main.inc on line 2 ($link = mysql_pconnect('localhost','root','password');) If compiled only with --with-extra-charsets=complex, the message would't take place, but big5 characters cannot be interpreted correctly unless SET OPTION is explictly declared. If compiled with --with-charset=big5 and --with-extra-charsets=big5,latin1, same result as the first configuration. This problem never occured with MySQL 3.22.32. >How-To-Repeat: A little php programme would show this: <?php $link = mysql_pconnect('localhost','root','password'); ?> >Fix: Dunno... >Submitter-Id: <submitter ID> >Originator: ljm >Organization: >MySQL support: none >Synopsis: >Severity: serious >Priority: medium >Category: mysql >Class: support >Release: mysql-3.23.32 (Source distribution) >Environment: System: Linux ljm.qqjane.net 2.2.18 #4 SMP Sun Dec 24 21:22:14 CST 2000 i686 unknown Architecture: i686 GLIBC 2.2.1 Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/specs gcc version 2.95.2 19991024 (release) Compilation info: CC='gcc' CFLAGS='-O9 -mcpu=i686 -fexpensive-optimizations' CXX='c++' CXXFLAGS='-O9 -mcpu=i686 -fexpensive-optimizations' LDFLAGS='' Configure command: ./configure --enable-thread-safe-client --enable-assembler --with-charset=big5 Perl: This is perl, version 5.005_03 built for i586-linux --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php