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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.