tibberous Posted October 30, 2012 Share Posted October 30, 2012 It turns into a weird diamond, even if your using utf 8. Quote Link to comment https://forums.phpfreaks.com/topic/270080-why-does-the-tm-sign-turn-into-reg-when-you-html-entity-it/ Share on other sites More sharing options...
Muddy_Funster Posted October 30, 2012 Share Posted October 30, 2012 strange, works for me. what do you get if you use htmlspecialchars()? Quote Link to comment https://forums.phpfreaks.com/topic/270080-why-does-the-tm-sign-turn-into-reg-when-you-html-entity-it/#findComment-1388781 Share on other sites More sharing options...
lovephp Posted October 30, 2012 Share Posted October 30, 2012 (edited) try using this meta tag <meta charset="UTF-8"> <meta http-equiv="Content-type" content="text/html; charset=UTF-8"> Edited October 30, 2012 by lovephp Quote Link to comment https://forums.phpfreaks.com/topic/270080-why-does-the-tm-sign-turn-into-reg-when-you-html-entity-it/#findComment-1388805 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.