开发者

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 fi开发者_JS百科ne on my local server, but when I upload it to my remote server if renders incorrectly.

Does anyone know a solution?


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


Related: php remove/identify this symbol �

Quoted from Gumbo

The character � is the REPLACEMENT CHARACTER (U+FFFD). It is used when there was an error within an UTF code:

FFFD � REPLACEMENT CHARACTER

used to replace an incoming character whose value is unknown or unrepresentable in Unicode

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜