Make sure which version of PCRE you are using and ask PCRE guys if you
really want to stick to preg_match().
You can validate the encoding by either iconv() or
mb_convert_encoding() by specifying UTF-8 both to the "from" encoding
and "to" encoding. If the string contains a wrong UTF-8 byte sequenc
When i follow the way on:
http://bugs.php.net/bugs-generating-backtrace.php
i get this:
Core was generated by `/usr/bin/php ./test.php'.
Program terminated with signal 11, Segmentation fault.
[New process 5913]
#0 0xb7cecd43 in ?? () from /usr/lib/libpcre.so.3
(gdb) bt
#0
Hi,
That appears to be a PCRE's problem.
Try running it on gdb following the instruction:
http://bugs.php.net/bugs-generating-backtrace.php
Regards,
Moriyoshi
2009/3/22 Valkum :
> Hello,
>
> i have a big problem.
>
> When i try to encode a big string to utf8 i got a core dump
>
> her is my code.