Tylor_Famous Posted June 26, 2008 Share Posted June 26, 2008 Hello, Every word in my database that has an apostrophe (like "it's") comes out as itXs (but the x is a square. Or a question mark in firefox). I saw something online once that said I had to add a \ before each one (it was a while ago so I don't remember exactly what it said) but it didn't work. Any ideas? Link to comment https://forums.phpfreaks.com/topic/112062-solved-all-of-the-apostrophes-in-my-database-come-out-as-squares-i-tried-adding-a/ Share on other sites More sharing options...
fenway Posted June 26, 2008 Share Posted June 26, 2008 Sounds like an enconding issue.... Link to comment https://forums.phpfreaks.com/topic/112062-solved-all-of-the-apostrophes-in-my-database-come-out-as-squares-i-tried-adding-a/#findComment-575361 Share on other sites More sharing options...
Tylor_Famous Posted June 26, 2008 Author Share Posted June 26, 2008 And how might I solve it? Link to comment https://forums.phpfreaks.com/topic/112062-solved-all-of-the-apostrophes-in-my-database-come-out-as-squares-i-tried-adding-a/#findComment-575381 Share on other sites More sharing options...
Tylor_Famous Posted June 26, 2008 Author Share Posted June 26, 2008 I fixed the problem (might not be the best way but it works). I just pasted everything into work and did a find replace for the apostrophes with ‚ If anyone else needs to know some other ones I had to change are ' = ‚ - = — " = " There is a whole list here:http://www.chaos.org.uk/~eddy/bits/chars.html Thanks Link to comment https://forums.phpfreaks.com/topic/112062-solved-all-of-the-apostrophes-in-my-database-come-out-as-squares-i-tried-adding-a/#findComment-575557 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.