nonphixion Posted February 18, 2007 Share Posted February 18, 2007 Hi all, I have some PHP pages which I use to get and stick in my main content frame. The only issue I'm having is that if I have a word like "they'll", it will turn into "they?ll" once on the website. Anybody have any ideas why that is happending? Many thanks Quote Link to comment Share on other sites More sharing options...
printf Posted February 18, 2007 Share Posted February 18, 2007 what is the character code page you are using? IE(uft8, ... <= ?), and where is the data coming from. printf Quote Link to comment Share on other sites More sharing options...
nonphixion Posted February 18, 2007 Author Share Posted February 18, 2007 Hi Printf Thanks for the reply.. Code for index.php : <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> Data is coming from the "about" file in "/index.php?id=about" which only has these tags: <html> <body> <p>Example - They'll</p> </body> </html> Is that what you're looking for? Many thanks Quote Link to comment Share on other sites More sharing options...
kucing Posted February 18, 2007 Share Posted February 18, 2007 Hi, You may want to check your index.php as it may contain some xss attach protection like blocking some know ways. It may be one of the reason your ' is changing to ? K Quote Link to comment Share on other sites More sharing options...
nonphixion Posted February 18, 2007 Author Share Posted February 18, 2007 Thanks kucing Would that be here? : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> Quote Link to comment Share on other sites More sharing options...
kucing Posted February 18, 2007 Share Posted February 18, 2007 is that happen when you post something or do get method? Quote Link to comment Share on other sites More sharing options...
nonphixion Posted February 18, 2007 Author Share Posted February 18, 2007 It's brought in on the main page through this... switch($_GET['id']) which has this as a subset.. case "about": include('about.php'); break; Quote Link to comment Share on other sites More sharing options...
nonphixion Posted February 18, 2007 Author Share Posted February 18, 2007 Have tried other things with no luck :/ Any ideas would be appreciated.. Quote Link to comment Share on other sites More sharing options...
effigy Posted February 18, 2007 Share Posted February 18, 2007 They might be smart quotes; see these topics: http://www.phpfreaks.com/forums/index.php/topic,111649.0.html http://www.phpfreaks.com/forums/index.php/topic,125877.0.html Quote Link to comment 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.