EchoFool Posted July 18, 2008 Share Posted July 18, 2008 For some unknown reason, when I echo a £ symbol related to money it comes out like this: �500 Its a simple echo '£'.$Money; What causes this sort of thing, I have no idea where to begin to look with fixing this problem ??? Link to comment https://forums.phpfreaks.com/topic/115482-unusual-symbol-being-echod/ Share on other sites More sharing options...
awpti Posted July 18, 2008 Share Posted July 18, 2008 What's the content-type header set as? Try UTF-8. Link to comment https://forums.phpfreaks.com/topic/115482-unusual-symbol-being-echod/#findComment-593676 Share on other sites More sharing options...
tibberous Posted July 18, 2008 Share Posted July 18, 2008 Yeah. Just use the entity for it, £ Link to comment https://forums.phpfreaks.com/topic/115482-unusual-symbol-being-echod/#findComment-593683 Share on other sites More sharing options...
EchoFool Posted July 18, 2008 Author Share Posted July 18, 2008 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> I have this at top of my page if that is what you mean ? Link to comment https://forums.phpfreaks.com/topic/115482-unusual-symbol-being-echod/#findComment-593706 Share on other sites More sharing options...
effigy Posted July 18, 2008 Share Posted July 18, 2008 http://www.phpfreaks.com/forums/index.php/topic,202363.0.html Link to comment https://forums.phpfreaks.com/topic/115482-unusual-symbol-being-echod/#findComment-593708 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.