WordPress.org

Ready to get started?Download WordPress

Forums

Odd Character In Posts (5 posts)

  1. rolandksmith
    Member
    Posted 6 years ago #

    A couple of the blogs that I host for family members get a strange character (à is what it looks like). These characters show up in the database, look like this: ...is somewhere around 10, and weekends generally revolve around 11,maybe 11:30 if we're uber busy. There are a few girls my same age who work there, but most everybody else is older, which kind of surprised me. I see Buckle as a teen store, but we get a lot of young moms and adults too. Go figure. Anyway...

    Two other blogs show the same behavior. These characters do not show when a post is displayed. How do they get there and what can I do to prevent them?

  2. moshu
    Member
    Posted 6 years ago #

    Don't hit the space twice after a period. That was valid in the "paper era"...

  3. rolandksmith
    Member
    Posted 6 years ago #

    First, I really appreciate the very quick response.

    Since I'm not the writer of these posts, is there a way to screen out the double space? I'm a bit surprised that a two spaces in a row would cause this funny character to appear.

    Does this happen in the database mySQL processes?

    Before putting in this topic, I did check to make sure that the two offending lines were not in any of the wp-config files.

  4. AldebaranJill
    Member
    Posted 6 years ago #

    Roland,
    Did you ever discover the cause? I have a client with a similar problem and I'd love to know if indeed it's double spaces after the period that causes this. I too don't have the offending lines in the wp-config and can find the characters in the database.

  5. augnix
    Member
    Posted 5 years ago #

    I have the same problem; here's what I wrote in a similar thread:

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

    I have the same problem with 2.6.

    It's easy to reproduce too:

    * Create new post.
    * Use the "visual" editor.
    * End your first sentence with a period (.) followed by two spaces.
    * Begin and end another sentence.

    If your character encoding on your browser is set to Unicode (UTF-8) you will see the two spaces after the period, but if you change it to Western (ISO-8859-1) you will see the funny A character (Â).

    The funny A character makes it into the 'post_content' variable and into the DB; I have a custom plug-in I use to notify customers of new posts and the funny A gets sent out in those messages too.

    Note: if you re-save your post, the funny A character goes away in your published post.

    My Browser info.:
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080703 Mandriva/2.0.0.16-1.1mdv2008.0 (2008.0) Firefox/2.0.0.16

Topic Closed

This topic has been closed to new replies.

About this Topic