Danny620 Posted November 29, 2012 Share Posted November 29, 2012 Hi have a blog website that takes html input from a form filed ie <p>hello this is text £</p> how can i preserver <p> tags and just convert £ into £ and also & characters utf-8 is my encoding btw Link to comment https://forums.phpfreaks.com/topic/271350-html-preserve-pound-sign-convert-into-html-entities/ Share on other sites More sharing options...
MDCode Posted November 29, 2012 Share Posted November 29, 2012 You could just use £ Link to comment https://forums.phpfreaks.com/topic/271350-html-preserve-pound-sign-convert-into-html-entities/#findComment-1396195 Share on other sites More sharing options...
requinix Posted November 29, 2012 Share Posted November 29, 2012 Why do you need to convert it? It has a perfectly good UTF-8 representation already. Link to comment https://forums.phpfreaks.com/topic/271350-html-preserve-pound-sign-convert-into-html-entities/#findComment-1396220 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.