ID:               28697
 Updated by:       [EMAIL PROTECTED]
 Reported By:      alon at wsco dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *Languages/Translation
 Operating System: Linux RH9.0
 PHP Version:      4.3.7
 New Comment:

This looks to be a problem with the PCRE library and it's 
handling of Hebrew characters. Please contact the 
developers of PCRE about this issue. 


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

[2004-06-08 14:53:57] alon at wsco dot com

Description:
------------
To the best of my knowledge this issue was reported in version 4.3.4
and has not been addressed since.
The 19th character in the Hebrew alphabet is called "Koof" (the oo is
pronounced similar to "Book").

This is a new issue from the version 4.3 and above (not sure if 4.3.2
had it or not).

I am a hosting company owner (linux box) and have lots of users who are
complaining about this problem.

One of my users gave a sample code that illustrate this problem:


<?php
setlocale (LC_ALL,"hebrew");
$long_date = strftime("%A, %d %B %Y");
echo $long_date . "<br />";
$str = "�����";
   if (preg_match('/[EMAIL PROTECTED]/i',$str)) {
      print "wrong!";
   }
?>

Please have someone have a look at this at your earliest as I am
'bombarded' with "There is something wrong with your server" msgs.
This issue was checked at a previous version of PHP with no problems
and seem to work fine.

-Alon
[EMAIL PROTECTED]

Reproduce code:
---------------
<?php
setlocale (LC_ALL,"hebrew");
$long_date = strftime("%A, %d %B %Y");
echo $long_date . "<br />";
$str = "�����";
   if (preg_match('/[EMAIL PROTECTED]/i',$str)) {
      print "wrong!";
   }
?>


Expected result:
----------------
��� �����, 01 ���� 2004


Actual result:
--------------
��� �����, 01 ���� 2004
wrong!



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


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

Reply via email to