|
Posted by Andy Hassall on 11/13/05 16:58
On 12 Nov 2005 20:06:03 -0800, deanhouseholder@gmail.com wrote:
>Has anyone had any problems with PHP 5.0.5 getting seg faults when
>trying to replace extended ascii characters?
>
>I'm trying to replace the characters: Â and °, with " degrees". I am
>able to detect these characters in the string, but when I try replacing
>it, PHP seg faults. I've tried both str_replace() as well as
>preg_replace(). I've tried replacing the characters by pasting them
>directly, using chr(176) & chr(194), and even \xC2 and \xB0.
>
>I get the Segmentation fault both through Apache as well as CLI
>(command line interface) consistently.
>
>Any ideas?
Can you post minimal example code demonstrating the problem?
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|