Stop Junk Characters ‘â€TM’ from Appearing Instead of an Apostrophe

A big issue after upgrading WordPress installations is the matter of apostrophes appearing as ‘â€TM’ –stupid junk characters. Most of the time there is a simple solution, at least in cases I’ve dealt with.

To fix this, just jump into your wp-config, and comment out two lines:

define(”DB_CHARSET”, ”utf8”);

define(”DB_COLLATE”, ””);

If you don’t know what I mean when I say “comment out,” it is the use of “#” or “//” which simply tells the interpreter to block everything that is on same line to the right of the comment.

So you endup with:

#define(”DB_CHARSET”, ”utf8”);

#define(”DB_COLLATE”, ””);

 

4 responses to “Stop Junk Characters ‘â€TM’ from Appearing Instead of an Apostrophe

  1. north face jackets

    Very effectively written information. It is going to be worthwhile to anyone who usess it, including myself. Sustain the nice work – for certain i’ll take a look at extra posts.

  2. Thanks a bunch for making the effort to explain the terminlogy for the newbies!

  3. Thanks Luis, can you give us any information as to why this works?

    • Luis

      The simplest answer is that WordPress added two new lines to the wp-config.php file in version 2.2, so if you upgrade the installation (and not use a new wp-config file,) the useless lines get tossed in. Deleting them would work just as well as commenting them out, I just try avoiding people deleting the wrong lines and screaming at me when things go wrong, commenting the lines out can leave room for mistakes/adjustments.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Enjoy, share, but do attribute

All work posted on my blog, unless otherwise noted, is my own work. Because I've taken the time to write my own pieces of blabbery, and most of it stems from tedious course work, I'm confident you can take the time to do the same. If you feel the need to use any portions of my work, be kind and do attribute.

Need some citation help? Checkout the OWL at Purdue.