Reply
Old 01-06-2009, 07:46 AM using htmlentities
numbenator's Avatar
Ultra Talker

Posts: 432
Location: London
Trades: 0
Hi

I have a problem in that i wish to convert the ü in MüLLER to a Ü so the result will be MÜLLER

i am using htmlentities as below :

$titleUpper="MüLLER";

$revisedTitle = str_replace (htmlentities (chr(252)) , htmlentities (chr(220)) , $titleUpper);

However, $evisedTitle remains as MüLLER

could anyone offer someinsight into this please.

cheers
__________________
www.mastech-solutions.com
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
 
When You Register, These Ads Go Away!
Old 01-06-2009, 10:38 AM Re: using htmlentities
Insensus's Avatar
Ultra Talker

Posts: 487
Name: Mark Stegeman
Location: Netherlands, Europe
Trades: 0
Try this instead:

$revisedTitle = str_replace (chr(252) , htmlentities (chr(220)) , $titleUpper);
__________________
<?php ($helpfull>0)?$talkupation++ : '';?>
Insensus is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to using htmlentities
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.10650 seconds with 13 queries