Support » Themes and Templates » ’Code taking over my apostrophes!

  • Resolved spotmea30


    I’ve tried everything. How on earth do I stop this code: I’
    from taking over every apostrophe in my blog?!

Viewing 15 replies - 1 through 15 (of 18 total)
  • It happens usually when you copy and paste text into the editor from a wordprocessor or notepad or something else like that… the only real way to do it is to go in and delete that and replace it with a hand-typed apostrophe… or just don’t copy and paste.

    If you’re worried about spell checking or losing your post, type it into the WP editor, then copy THAT and paste it into word or wherever else for a “backup” or a way to spellcheck.

    Thank you ladydelaluna. That did the trick!

    Well… now I’ve got new funky characters appearing…even though I types text directly through WordPress. It’s an  symbol. Any ideas?

    Hmm… not sure on that one. You’re definitely typing “from scratch” inside the WP editor?

    And if it’s the blog from “goflyasite” – I have to tell you that I’m not seeing any erroneous characters in your posts – I’m using Firefox browser on Windows XP Pro… *shrug*

    Yup… straight from the WP editor. Weird. It only shows at various times, BTW…not always. Very strange. Thanks again for your help!

    you’re welcome! 🙂 wish i could help you figure that last one out…

    Your blog is in utf-8 but browsers are defaulting to the ISO-8859-1 character encoding. You should send a content type header with a utf-8 charset.

    yay! wtg firas!

    Wow…okay I may in over my head with this one. Can you clarify where I can “send a content type header?” I found a reference to utf-8 in the contact area. But I’m afraid I’m to to PHP…so if it’s an easy tutorial I would love your help!

    Look for

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

    in header.php of your active theme. Change the php bit to explicitly state UTF-8


    <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />

    Failing that, add a
    AddType “text/html; charset=utf-8” php
    directive to the .htaccess in the doc_root of your blog.

    If that doesn’t make it output in UTF-8 I don’t know what to tell you.

    Thank you all for your help. Still no luck… and I admit I’m a newbie at this php stuff…but I’m so determined! I tried the first step in the last post (no luck). Got a bit lost on “.htaccess in the doc_root”

    Appreciate the support and patience!

    In hindsight, my little AddType theory probably wouldn’t work as I’m sure not all WP pages end in .php when they’re output ot the browser, if any are at all. The directive requires a file extension to work.

    Your blog is outputting UTF-8 and that’s what’s being sent to the browser, BTW, so you’ve fixed it. Your site itself is still ISO 8859-1 but that’s easily fixed as well.

    I may have fixed, but the funky “” is still appearing many times (not always). I’ve cleared my cache…still there…



    I had this problem and solved it with this:

    I’m not seeing anything like that at in FF, Opera 8.53 or IE 6.0.

    As they say in the classics, it’s just you.

    However, your CSS won’t load in IE 6.0 for reasons I haven’t looked at.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘’Code taking over my apostrophes!’ is closed to new replies.