TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > PHP

Notices

Comparing two strings with umlauts (particularly array_search())

PHP


Reply
 
Thread Tools Display Modes
Old 28-09-2007, 07:29 PM   #1
Christian Bruckhoff
Guest
 
Posts: n/a
Comparing two strings with umlauts (particularly array_search())

Hi.

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

cya
Christian
  Reply With Quote
Old 04-10-2007, 03:37 AM   #2
Patrick Brunmayr
Guest
 
Posts: n/a
Re: Comparing two strings with umlauts (particularly array_search())

On 28 Sep., 13:45, Christian Bruckhoff <brchr...@uni-koblenz.de>
wrote:
> Hi.
>
> How is it possible to compare two strings with umlauts (z.B.
> "unregelmäßig"). It doesn't 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 = "unregelmäßig";

if($str == "unregelmäßig"){
echo "Foo";
}
?>

the output was Foo so it worked well!

  Reply With Quote
Old 20-11-2007, 11:42 AM   #3
upriot
Guest
 
Posts: n/a
Re: Comparing two strings with umlauts (particularly array_search())

Christian Bruckhoff wrote:
> Hi.
>
> How is it possible to compare two strings with umlauts (z.B.
> "unregelmäßig"). It doesn't work neither with array_search()nor with an
> if-statement.
>
> cya
> Christian


md5 it?
  Reply With Quote
Old 20-11-2007, 11:42 AM   #4
upriot
Guest
 
Posts: n/a
Re: Comparing two strings with umlauts (particularly array_search())

Christian Bruckhoff wrote:
> Hi.
>
> How is it possible to compare two strings with umlauts (z.B.
> "unregelmäßig"). It doesn't work neither with array_search()nor with an
> if-statement.
>
> cya
> Christian


md5 it?
  Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection Strings app.config and encrypting Amy L. C#(C Sharp) 1 23-09-2007 04:30 PM
Convert strings to/from C# syntax? Michael A. Covington C#(C Sharp) 3 19-09-2007 02:30 PM
Strings AA2e72E C#(C Sharp) 19 19-09-2007 01:31 PM
Connection Strings - 4 a Newbie Miro VB.NET 1 07-09-2007 05:31 PM
Searching for strings in Vista using Windows Explorer doesn't seem to work Celegans Windows Vista All 3 19-08-2007 04:24 PM


< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 04:11 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional