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 Quote 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 £ Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.