WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] ’Code taking over my apostrophes! (19 posts)

  1. spotmea30
    Member
    Posted 8 years ago #

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

  2. ladydelaluna
    Member
    Posted 8 years ago #

    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.

  3. spotmea30
    Member
    Posted 8 years ago #

    Thank you ladydelaluna. That did the trick!

  4. spotmea30
    Member
    Posted 8 years ago #

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

  5. ladydelaluna
    Member
    Posted 8 years ago #

    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*

  6. spotmea30
    Member
    Posted 8 years ago #

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

  7. ladydelaluna
    Member
    Posted 8 years ago #

    you're welcome! :) wish i could help you figure that last one out...

  8. Firas
    Member
    Posted 8 years ago #

    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.

  9. ladydelaluna
    Member
    Posted 8 years ago #

    yay! wtg firas!

  10. spotmea30
    Member
    Posted 8 years ago #

    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!

  11. IIIIIIIV
    Member
    Posted 8 years ago #

    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

    i.e

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

  12. spotmea30
    Member
    Posted 8 years ago #

    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!

  13. IIIIIIIV
    Member
    Posted 8 years ago #

    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.

  14. spotmea30
    Member
    Posted 8 years ago #

    I may have fixed, but the funky "Â" is still appearing many times (not always). I've cleared my cache...still there...

  15. WPChina
    Member
    Posted 8 years ago #

    I had this problem and solved it with this:

    http://wordpress.org/support/topic/62746

  16. IIIIIIIV
    Member
    Posted 8 years ago #

    I'm not seeing anything like that at http://goflyasite.com/blog/ in FF 1.5.0.1, 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.

  17. spotmea30
    Member
    Posted 8 years ago #

    Ugh! Actually every machine I've checked displays the random "Â" characters. Usually on refreshing the page or clicking deeper into the blog.

  18. spotmea30
    Member
    Posted 8 years ago #

    Changed themes. Resolved... not just a header image issue. Will log under new question. Thank you all!

  19. maerk
    Member
    Posted 8 years ago #

    You might also try this plugin:

    http://www.joahua.com/blog/2005/06/04/curlyenc-03

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags