ID: 21386 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Unknown/Other Function Operating System: Win Nt PHP Version: 4.3.0 New Comment:
This might be a locale problem. Try setting your locale, e.g. like so: setlocale(LC_CTYPE,"Hebrew"); Without knowing your locale, PHP (or the underlying C library) has no chance of knowing which character codes are letters and which are punctuation (the letter you wrote looks like a division symbol in my locale with its ISO-8859-1 character set). Previous Comments: ------------------------------------------------------------------------ [2003-01-03 05:42:02] [EMAIL PROTECTED] Hi, I'm from Israel and I have a problem with Hebrew + PHP. I am using the function PREG but one of the Hebrew letters, PHP doesn't recognize as a letter (The letter is "÷"). That makes the following problems: \b- if the letter start or finish a word PHP won't consider her. \w-PHP doesn't consider her as a letter… and more… I hope there is something to do about it. P.S – Excuse me for any spelling problems, I don't write so good in English… Thank you very much. Ido. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21386&edit=1