unistake Posted November 11, 2010 Share Posted November 11, 2010 howcome a £ symbol in mysql when echoed shows �? Link to comment https://forums.phpfreaks.com/topic/218379-howcome-a-%C2%A3-symbol-in-mysql-when-echoed-shows-%EF%BF%BD/ Share on other sites More sharing options...
trq Posted November 11, 2010 Share Posted November 11, 2010 You need to set the document charset to utf-8 Link to comment https://forums.phpfreaks.com/topic/218379-howcome-a-%C2%A3-symbol-in-mysql-when-echoed-shows-%EF%BF%BD/#findComment-1132996 Share on other sites More sharing options...
unistake Posted November 11, 2010 Author Share Posted November 11, 2010 I looks like it is: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> Link to comment https://forums.phpfreaks.com/topic/218379-howcome-a-%C2%A3-symbol-in-mysql-when-echoed-shows-%EF%BF%BD/#findComment-1132997 Share on other sites More sharing options...
unistake Posted November 11, 2010 Author Share Posted November 11, 2010 How can I replace every � with £ ? Link to comment https://forums.phpfreaks.com/topic/218379-howcome-a-%C2%A3-symbol-in-mysql-when-echoed-shows-%EF%BF%BD/#findComment-1133013 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.