WordPress.org

Ready to get started?Download WordPress

Forums

Random  characters in posts (4 posts)

  1. Patrick Nommensen
    Member
    Posted 2 years ago #

    Hello,

    How do I get rid of random  characters showing up in posts.

    I'm guessing it's an encoding issue?

    Many thanks!

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    You should add a content-type to your <head> section like:

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

    A doctype call other than 'html' may help also:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Test in all (popular) browsers/versions.

  3. lonniea
    Member
    Posted 2 years ago #

    yea... ive had that problem a lot in the past. if you are pasting from word to the wordpress editor you will get these odd characters. its better if you use notepad to copy n paste from.

    you can try selecting all the content in edit window and then click the 'unformat' icon within the TINYMCE editor. this will change everything back to the themes default style sheet. if you must use Word, try saving the file as *.txt - UTF-8 encoding before pasting into wordpress.

  4. Patrick Nommensen
    Member
    Posted 2 years ago #

    Thanks for the help!

    The

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

    did the trick.

    Have a great holiday.

Topic Closed

This topic has been closed to new replies.

About this Topic