Jump to content

apostrophes arent outputting correctly


dadamssg

Recommended Posts

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.)

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.