Chrisman Posted April 29, 2008 Share Posted April 29, 2008 In my code, I'm doing a random quote, but on the output I have a "" at the beginning of every quote and a "1" at the end. This is no where in the code. If you want to see it yourself you can go here. I put the code itself in a text document here (right-click and "save target as.." for the .txt document). <?php include("random.chr"); ?> Edit: Fixed the links. Link to comment https://forums.phpfreaks.com/topic/103351-solved-weird-symbols-and-numbers-why/ Share on other sites More sharing options...
mrdamien Posted April 29, 2008 Share Posted April 29, 2008 Its something to do with your character set I think. I put <meta http-equiv="content-type" content="text/html; charset=UTF-8"> in a test page with one of your quotes and the "" characters went away. Link to comment https://forums.phpfreaks.com/topic/103351-solved-weird-symbols-and-numbers-why/#findComment-529305 Share on other sites More sharing options...
Chrisman Posted April 29, 2008 Author Share Posted April 29, 2008 Thanks. That solved it. Link to comment https://forums.phpfreaks.com/topic/103351-solved-weird-symbols-and-numbers-why/#findComment-529317 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.