Re: regex with non-ascii characters
| From: | Jeff Warrington | Date: | Wed, 31 Jan 2001 02:30:37 +0000 |
| Subject: | Re: regex with non-ascii characters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37379@lists.php.net to get a copy of this message | ||
In article <059301c08981$7859a020$3b00a8c0@hq.bountyquest.com>, "Remco
Chang" <rchang@bountyquest.com> wrote:
You need to find the ASCII codes for these characters and
include them in the range of acceptable chars in the ereg.
something like:
[\xc0-\xff]
where this represents a range of ASCII codes in octal
Jeff
> hi,
>
> just a quick question... i can't seem to have ereg() work with
> non-ascii characters such as the character 'ö'.
>
> is this something that i can work around?
>
> remco chang www.bountyquest.com
>
>
>
>
>