Forums

Characters have changed from " to ’ (5 posts)

  1. musicvl
    Member
    Posted 2 years ago #

    All of my characters in post such as , ' "" have changed to something else such as “ ’t ‘..
    How can i restore that ??
    Can anyone please help me ?

  2. musicvl
    Member
    Posted 2 years ago #

    please anyone reply..

  3. mediabaron
    Member
    Posted 2 years ago #

  4. converting2wp
    Member
    Posted 1 year ago #

    mediabaron's link appears to suggest commenting out the defines for DB_CHARSET and DB_COLLATE. That didn't work for me.

    My problem arose when I migrated a WordPress install from one hosting service to another. Both databases were set for UTF8 (and there were no defines for DB_CHARSET and DB_COLLATE in the wp_config.php file until I added them trying to fix the problems).

    The weird characters (e.g. “) do seem to be in the database (at least according to phpMyAdmin) -- but one server must have settings that translate the characters to ones that the browser understands. I'm seeing the same behavior with Firefox and IE on Windows and Safari on a Mac -- things look fine when the data is served from one system, garbled from another.

    Since these characters *are* apt to appear in future posts, does anyone have suggestions on where to look for a server-side solution?

  5. converting2wp
    Member
    Posted 1 year ago #

    However, in the interest of moving forward, I did just investigate another solution.

    I installed the Search Regex plugin. [It appears to be the search and replace plugin that's had the most recent development and its version 1.4.11 is compatible to WP 2.9.2 which is what I'm running.]

    I used it to make the following replacements:

    Â ->  
    — => —
    ’ => ’
    ” => ”
    “ => “

    and things look much better.

Topic Closed

This topic has been closed to new replies.

About this Topic