Sagewire Logo

Comparing two strings with umlauts (particularly array_search())

2 Message(s) by 2 Author(s) originally posted in php language


From: Christian Bruckhoff Date:   Friday, September 28, 2007
Hi.

How is it possible to compare two strings with umlauts (z.B.
"unregelmäßig"). It does not work neither with array_search()nor with an
if-statement.

cya
Christian


From: Patrick Brunmayr Date:   Wednesday, October 03, 2007
On 28 Sep., 13:45, Christian Bruckhoff <brchr...@xxxxxxxxxxx>
wrote in message:
Hi.
How is it possible to compare two strings with umlauts (z.B.
"unregelm=E4=DFig"). It does not work neither with array_search()nor with =
an
if-statement.
cya
Christian



this is very hard to answer if you dont post the version of php you
are using. I tried the following script with php 5.2.3

<?
$str =3D "unregelm=E4=DFig";

if($str =3D=3D "unregelm=E4=DFig"){
echo "Foo";
}
?>


the output was Foo ;) so it worked well!



Next Message: Does PHP5 support dynamic variables?


Blogs related to Comparing two strings with umlauts (particularly array_search())

Good morning all We recently upgraded from MySQL 5022-log to MySQL ...
MySQL does allow " for strings, but ANSI standard uses " for identifiers (which you can enable with ANSI QUOTES option). If I want to select fields from more then 2 tables in a query how will I make that work? Some JOIN ON or compare a ...

Comparing two strings with umlauts (particularly array_search())
Hi. How is it possible to compare two strings with umlauts (zB unregelmäßig). It doesnt work neither with array_search()nor with an if-statement. cya Christian.

Comparing two strings with umlauts (particularly array_search())
Forum: PHP Posted By: Christian Bruckhoff Post Time: 28-09-2007 at 06:29 PM.


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional