#21386 [Com]: Hebrew problem...

From: Date: Fri, 03 Jan 2003 14:17:30 +0000
Subject: #21386 [Com]: Hebrew problem...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28978@lists.php.net to get a copy of this message
ID: 21386 Comment by: michael.mauch@gmx.de Reported By: eva24@bezeqint.net 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] eva24@bezeqint.net 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

« previous php.bugs (#28978) next »