Re: [CentOS] Weird problem in PHP 5.1.6/possible bug

2008-10-14 Thread Patrick
Kai Schaetzl wrote: As you might have seen I actually found a workaround. Your findings on CentOS 4 suggest that it is a specific problem on the CentOS/RHEL 5 platform. The PHP 5 coming with CentOS 5 is set to a locale of C and doesn't match the locale of the system! I guess I file a bug now.

Re: [CentOS] Weird problem in PHP 5.1.6/possible bug

2008-10-13 Thread Kai Schaetzl
Patrick wrote on Sun, 12 Oct 2008 15:34:03 -0400: > See above (hope it helps out). As you might have seen I actually found a workaround. Your findings on CentOS 4 suggest that it is a specific problem on the CentOS/RHEL 5 platform. The PHP 5 coming with CentOS 5 is set to a locale of C and doe

Re: [CentOS] Weird problem in PHP 5.1.6/possible bug

2008-10-12 Thread Patrick
Kai Schaetzl wrote: Could others check on what they have available (other PHP, other distributions) and tell the results? Linux Apache 2.6.9-55.0.2.EL #1 Tue Jun 26 14:08:18 EDT 2007 i686 CentOS release 4.5 (Final) PHP Version 5.2.5 Output: äöüÄÖÜß 'äöüÄÖÜß' äöüÄÖÜß 'äöüÄÖÜß

Re: [CentOS] Weird problem in PHP 5.1.6/possible bug

2008-10-08 Thread Kai Schaetzl
It's not specific to CentOS. I found this bug report http://bugs.php.net/bug.php?id=44945 It seems that PHP 5 runs with no locale at all and doesn't have access to $LANG either. That bug got closed, still I think it's a bug. At least it doesn't behave like documented. Kai -- Kai Schätzl, Berl