• Resolved givememyleg

    (@givememyleg)


    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?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter givememyleg

    (@givememyleg)

    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;?>
    Thread Starter givememyleg

    (@givememyleg)

    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.

    Thread Starter givememyleg

    (@givememyleg)

    Bump!

    Thread Starter givememyleg

    (@givememyleg)

    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).

    Thread Starter givememyleg

    (@givememyleg)

    Wow, I don’t know why I didn’t think of that… Thanks for bridging the gap of my stupidity, it works now!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Weird  characters using the_excerpt on homepage include.’ is closed to new replies.