dotty dotty - 1 month ago 14
HTML Question

money_format() function showing � instead of local currency symbol (pound)

Does anyone have any idea why

money_format()
is showing � instead of pound sign (£).

The function performs fine on my local server, but when I upload it to my remote server if renders incorrectly.

Does anyone know a solution?

Answer

You need to use £, not £

A full list of characters affected in this way can be found at http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references