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 <[EMAIL PROTECTED]>:
>
> 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
>
>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to