From:             tom at nooper dot com
Operating system: Redhat 8
PHP version:      4.3.4
PHP Bug Type:     mbstring related
Bug description:  unable to detect character encoding

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 bug report at http://bugs.php.net/?id=26184&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26184&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26184&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26184&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26184&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26184&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=26184&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26184&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26184&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26184&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26184&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26184&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26184&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26184&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26184&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26184&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26184&r=float

Reply via email to