givememyleg
Member
Posted 2 years ago #
I don't have any weird/strange characters on my actual blog page, but on my homepage I have an include to show excerpts.
To see what I mean, please click here http://www.thepresentmind.com/
However, if you go to the blog, no weird characters show up http://www.thepresentmind.com/blog/
I have tried fixes for over an hour now, including the DB_CHARSET and DB_COLLATE fixes from wp-config.php. I also have ensured that the charset is set to UTF-8 in the admin panel. I also have installed UTF-8 Database Converter but that did not work. All of my db's are in "utf8_general_ci".
Any other ideas?
givememyleg
Member
Posted 2 years ago #
Here is the code for the homepage excerpts if it helps:
<?php
require('blog/wp-blog-header.php');
?>
<?php query_posts('showposts=5'); ?>
<?php while (have_posts()) : the_post(); ?>
<a class="blog" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a><br /><?php the_excerpt(); ?>
<?php endwhile;?>
givememyleg
Member
Posted 2 years ago #
The  character seems to be showing up after the end of sentences in a paragraph. Strangely, at the end of paragraphs, there is no problem.
givememyleg
Member
Posted 2 years ago #
givememyleg
Member
Posted 2 years ago #
Still haven't figured out the issue, any ideas?
Your home page has a different charset (charset=iso-8859-1) than your blog (charset=UTF-8).
givememyleg
Member
Posted 2 years ago #
Wow, I don't know why I didn't think of that... Thanks for bridging the gap of my stupidity, it works now!