WordPress.org

Support

Support » How-To and Troubleshooting » Character Problems

Character Problems

  • Sorry in advance if this has been asked before, but I’ve looked through the forums a bit and can’t seem to find an answer to my problem.

    We’ve got a couple of blogs on our site that are showing funky characters when the poster pastes the text in from a text editor (even notepad.) If the posters type directly into WordPress, the stories come out fine, but most of our posters are just copying stories they’ve written for something else, so they’re reluctant to retype…
    Here’s an example:
    http://www.herald-review.com/blogs/amyhoak

    As you should be able to see, the quotes, apostrophes, and hypens all come out weird. We’re using the UTF-8 charset, and changing it doesn’t seem to help. I think this problem is also affecting our RSS headlines, because any time we display the latest blog entry and it has a quotation mark or apostrophe, it’s displayed incorrectly. If I go through the DB and force the characters to regular quote marks and such, they come out fine.

    Is there any way to force WP to use ‘normal’ quotes and apostrophes?
    We’re using 1.5.1.3

    Again, sorry if this has been asked before and thanks in advance for the help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • I couldn’t reproduce that error with a text copied from Notepad.

    Taking a closer look… you have a whole file included in another file, which means you have two <head> sections with two encoding rules:
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    and
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    Briefly: it’s a mess 🙂

    Thanks. I’ll take a closer look. Our webmaster recently did a redesign, and he probably didn’t realize what he was doing with the templates…

    I use a bullet in the title of my posts at http://logoswalk.com/journal/index.php. All of the newsreaders or services such as MyYahoo, etc. I’ve tried render the bullet correctly or simply delete it. But none of the scripts/methods I’ve found render the bullet correctly when I attempt to have the latest post show up on the front page of my main web site at http://logoswalk.com/. It’s either replaced with a very strange character or a question mark.

    I’m currently using RSSLib to read and insert the post title, date, and summary, but it is only the latest in a long list of solutions I’ve tried. I’ve been leaving posts like this all over and would love for someone to “put me out of my misery”, so to speak, and tell me what to do. 😉 I’ve used the escaped equivalents and the “&” codes, but none of them work. (I’ve determined that no special characters render correctly, so it’s not just the bullet itself.) Thanks!

    In case someone searches the forum for a problem like this, it was resolved by using code generated at http://www.feeddigest.com. Special characters print correctly in the feeds.

    I have a variation on this problem, which goes like this: I’m using an inline frame on one of my pages, taking a page from a site that generates data and only offers it this way. Trouble is, I’m getting funny characters (though only in Firefox and Safari, but not in Mac IE) in the framed material.

    Seems the author of the other page is using a different character set — charset=iso-8859-1, probably, because it shows that way on the frameset pages.

    Is there any way I can harmonize things? If I change my WP settings to iso-8859-1, will things explode? will I lose functionality?

    Thanks for any help.

    bump

    Well, the posts written before the change (from utf-8 to iso-5589-1) will look funny, everything written after that will look OK in the framed place where the encoding will match.

    Thanks, moshu. That’s somewhat encouraging. I presume I could try it and then revert back if I find it too weird. Am I right?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Character Problems’ is closed to new replies.
Skip to toolbar