Re: Regexp help (simple)

From: Date: Thu, 22 Jan 2004 15:29:07 +0000
Subject: Re: Regexp help (simple)
Groups: php.general 
Request: Send a blank email to php-general+get-175422@lists.php.net to get a copy of this message
maybe this work: replace the special-characters first, eg.: $bokid = str_replace("å", "_", $bokid); and replace them back after preg_match or try the preg_match with the hexcode of this special chars: \xhh character with hex code hh (http://ch2.php.net/manual/de/pcre.pattern.syntax.php) g. martin luethi Thu, 22 Jan 2004 15:43:19 +0100 Victor Spång Arthursson <scooterbabe@home.se>: > > 2004-01-22 kl. 10.40 skrev Dagfinn Reiersøl: > >> I assume you mean: >> >> $test = split_bokid("ääö12345"); > > Yes! > >> I don't know. It works fine on my computer. The letters display >> correctly on the command line and even in Mozilla. > > Hmmm? try the following: > > <http://adversus.no-ip.com/function_split_bokid.php?bokid=åäö12345> > > Sincerely: > > Victor > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#175422) next »