#26184 [Opn->Asn]: unable to detect character encoding

From: Date: Tue, 11 Nov 2003 01:13:47 +0000
Subject: #26184 [Opn->Asn]: unable to detect character encoding
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-50211@lists.php.net to get a copy of this message
ID: 26184 Updated by: iliaa@php.net Reported By: tom at nooper dot com -Status: Open +Status: Assigned Bug Type: mbstring related Operating System: Redhat 8 PHP Version: 4.3.4 -Assigned To: +Assigned To: moriyoshi Previous Comments: ------------------------------------------------------------------------ [2003-11-09 04:00:52] tom at nooper dot com Description: ------------ I get the following error generated: mb_convert_encoding(): Unable to detect character encoding Up to 4.3.3 this works no problem. I compiled php with same options including the --enable-mbstring=all. If I look at phpinfo() output it seems that all the languages are missing no matter if I compile with --enable-mbstring=ja or other. I noticed another bug which was closed that fixed a bug in the reporting of phpinfo() for mbstring where it was suggested that all languages were included now from 4.3.4 independant of compile options. The code snippet that was used to generate the error above is simply: echo mb_convert_encoding($jText, 'SJIS','AUTO'); where $jText is some "EUC-JP" text. I tried the latest php snapshot from cvs also and it also doesn't work. If you need a short example program to reproduce this problem, I can look into it from Monday/Tuesday. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26184&edit=1

« previous php.bugs (#50211) next »