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 Link to comment https://forums.phpfreaks.com/topic/39042-getting-s-instead-of-s/ 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 Link to comment https://forums.phpfreaks.com/topic/39042-getting-s-instead-of-s/#findComment-188043 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 Link to comment https://forums.phpfreaks.com/topic/39042-getting-s-instead-of-s/#findComment-188050 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 Link to comment https://forums.phpfreaks.com/topic/39042-getting-s-instead-of-s/#findComment-188059 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"> Link to comment https://forums.phpfreaks.com/topic/39042-getting-s-instead-of-s/#findComment-188064 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? Link to comment https://forums.phpfreaks.com/topic/39042-getting-s-instead-of-s/#findComment-188069 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; Link to comment https://forums.phpfreaks.com/topic/39042-getting-s-instead-of-s/#findComment-188073 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.. Link to comment https://forums.phpfreaks.com/topic/39042-getting-s-instead-of-s/#findComment-188168 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 Link to comment https://forums.phpfreaks.com/topic/39042-getting-s-instead-of-s/#findComment-188188 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.