From:             alon at wsco dot com
Operating system: Linux RH9.0
PHP version:      4.3.7
PHP Bug Type:     *Languages/Translation
Bug description:  incorrect processing of a Hebrew charachter

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 bug report at http://bugs.php.net/?id=28697&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28697&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28697&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28697&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28697&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28697&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28697&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28697&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28697&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28697&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28697&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28697&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28697&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28697&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28697&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28697&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28697&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28697&r=float

Reply via email to