• I moved my blog to a new server and now I’m having an issue with some weird characters showing up in the posts that have been already written:

    …actress — who played Pamela Ewing on the ’80s primetime soap — terminated her employment for taking too long to walk the dog…”

    “looks REALLY different in a good way!”

    “Seth Macfarlane, the lucky bastard who created “Family Guy””

    also here is a link to a post with the problem:
    http://thecount.com/2009/05/04/jessica-simpson-vanity-fair-interview/

    I hope smeone can help me out, it would not be fun to have to edit 1000s of post to correct this.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you changed themes? Do you happen to have a copy of your previous theme?

    Try editing header.php within your currant theme and just after the <head> tag, add:

    <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />

    Thread Starter ThecounT

    (@thecount)

    Hello and thanks for answering. I did not change themes. I dropped your code in below <head> and it had no effect.

    Here is my current header in case it helps:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”><html xmlns=”http://www.w3.org/1999/xhtml”>&lt;?php wp_head(); ?>
    <head><meta http-equiv=”Content-Type” content=”text/html; charset=<?php bloginfo(‘charset’); ?>” /><link rel=”shortcut icon” href=”http://thecount.com/favicon.ico&#8221; type=”image/x-icon” />
    <link rel=”stylesheet” href=”http://thecount.com/wp-content/themes/cognoblue/style.css&#8221; type=”text/css” media=”screen” charset=”utf-8″/>
    <title><?php bloginfo(‘name’); ?></title><link rel=”alternate” type=”application/rss+xml” title=”Celebrity Gossip | Celebrity News | Hollywood Rumors | ThecounT.com Celebrity Mash Up! RSS Feed” href=”/feed/” />
    <link rel=”pingback” href=”/xmlrpc.php” />
    <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
    <meta name=”robots” content=”all” />
    <meta name=”keywords” content=”celebrity gossip, gossip, hollywood gossip, celebrities exposed, celebrity news, celeb photos, entertainment news” />

    <?php if (is_single() || is_page() ) : if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <meta name=”description” content=”<?php the_excerpt_rss(); ?>” />
    <?php endwhile; endif; elseif(is_home()) : ?>
    <meta name=”description” content=”<?php bloginfo(‘description’); ?>” />
    <?php endif; ?>

    </head>

    Thread Starter ThecounT

    (@thecount)

    by the way, I do have a copy of my theme but I did not change it.

    It’s some sort of character set issue. Ideally, those characters should be removed but obviously, your older server/setup managed to deal with them. Since you recently moved servers, perhaps the collation has changed on the database?

    http://codex.wordpress.org/Converting_Database_Character_Sets
    gives instructions on how to convert from one collation to another but it would be handy if you had a db backup from your older server so that you could check what the collation was previously.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Weird problem with font since server move’ is closed to new replies.