20050923

phpMyAdmin的字符编码问题

Author:  WinkCategories:  Linux, SoftwaresNo Comments »

有的时候在Linux上用phpMyAdmin,会遇上类似如下字符编码错误:

Warning: mb_internal_encoding(): Unknown encoding “gb2312″ in /var/www/html/phpMyAdmin263/libraries/string.lib.php on line 41

Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/maint/phpMyAdmin263/libraries/string.lib.php:41) in /var/www/html/phpMyAdmin263/libraries/auth/config.auth.lib.php on line 81

Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/maint/phpMyAdmin263/libraries/string.lib.php:41) in /var/www/html/phpMyAdmin263/libraries/select_theme.lib.php on line 86

解决方法是:根据错误提示找到string.lib.php文件中“mb_internal_encoding($GLOBALS['charset']);”的所在,把这一段屏蔽掉就可以了。

You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.

Comments are closed.

Back to Page Top