ID:               45709
 User updated by:  xhausherr at bestofmedia dot com
 Reported By:      xhausherr at bestofmedia dot com
 Status:           Open
 Bug Type:         *Unicode Issues
 Operating System: Windows Vista 32bits SP1
 PHP Version:      5.2.6
 New Comment:

I add some other investigation on that subject : 

- When I change the php.ini overload configuration to
"mbstring.func_overload = 0" it works again.

- The script doesn't end every time at the same moment. There is some
difference of 10 or 20 characters.

- If I remove some blocks of code, it can works, but a replacement with
a line such as "echo 'OK';" crash the script again.

I hope it can help.


Previous Comments:
------------------------------------------------------------------------

[2008-08-04 13:57:09] xhausherr at bestofmedia dot com

Description:
------------
Hello,

I am using PHP 5.2.6 and Apache 2.2.8.

I need to convert some huge website from ISO-8859-1 to UTF-8.

I am using the mbstring overload to avoid rewriting the entire PHP
code.

But I have a problem on some PHP script (my entire forum) when I add
the "2: Overload str*() functions".

In this case, the script is stopped before his end without any Php or
Apache error. The page is not blank, but stop before the end of the
script.

I have used Xdebug to try to see something, but it doesn't help me.

Here is my mbstring configuration : 

[mbstring]
mbstring.language = UTF-8
mbstring.internal_encoding = UTF-8
mbstring.http_input = auto
mbstring.http_output = UTF-8
mbstring.detect_order = auto
mbstring.func_overload = 7

Do you have an idea on this ?

Best regards.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45709&edit=1

Reply via email to