dadamssg Posted January 7, 2010 Share Posted January 7, 2010 so im trying to learn CodeIgniter and i had a page that didn't use it and it outputted fine, all i did was stripslashes. Well i have a page is outputted using codeigniter and my apostrophes are being outputted as ’57 any idea how to get them back to normal? Quote Link to comment https://forums.phpfreaks.com/topic/187536-apostrophes-arent-outputting-correctly/ Share on other sites More sharing options...
oni-kun Posted January 7, 2010 Share Posted January 7, 2010 so im trying to learn CodeIgniter and i had a page that didn't use it and it outputted fine, all i did was stripslashes. Well i have a page is outputted using codeigniter and my apostrophes are being outputted as ’57 any idea how to get them back to normal? It seems to be an encoding issue, I've seen this on many other sites. Is everything set to one encoding? (header, doctype, meta etc.) Quote Link to comment https://forums.phpfreaks.com/topic/187536-apostrophes-arent-outputting-correctly/#findComment-990161 Share on other sites More sharing options...
dadamssg Posted January 8, 2010 Author Share Posted January 8, 2010 i believe so...i mean i start my page with this <?php echo "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>"; echo "<html xmlns='http://www.w3.org/1999/xhtml'>"; ?> which is the same exact way i start my other pages that don't use CodeIgniter Quote Link to comment https://forums.phpfreaks.com/topic/187536-apostrophes-arent-outputting-correctly/#findComment-990695 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.