I have a mssql table that I have to work with which contains entries like:
a) Payment of ce4.00 received
When displayed by PHP in a webpage (verdana font) it shows as:
b) Payment of œ4.00 received
I actually think it should say:
c) Payment of £4.00 received.
How can I correct this so my web application displays as example c) please?
International characters
Moderator: General Moderators
Re: International characters
you could use the HTML escape for the pound sign (£) when you display. you would have to replace the "ce" part of your data, possibly with the str_replace() function.
There may be a better way out there to do this, Im not sure.
Code: Select all
$ouput = str_replace("ce", "£", $db_entry);Re: International characters
Thanks. That will nail it for now.