• Hi,

    I am developing an Arabic blog here

    https://science-and-technology.masrlinks.com/

    The site is recently moved to a new server and since then, the newly imported posts have strange characters as seen above.

    The database, php, mysql and wp-config all set to UTF8.

    Also, when I add posts manually, the Arabic characters work fine.

    What could be the issue? Any help is really appreciated

    Thanks,

    Ahmed

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Ahmed,

    Thank you for reaching out.

    This must be a coding issue.

    We have receive same case as yours.

    Can you try manually modifying feed.php WordPress file (in wp-includes folder), adding this line:

    $feed->set_input_encoding("iso-8859-1");

    [Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]

    Let me know if it works or email me at camille @feedspi.com.

    Best,

    Camille | Feedsapi

    • This reply was modified 7 years, 7 months ago by bdbrown.

    @camille_feedsapi

    manually modifying feed.php WordPress file (in wp-includes folder)

    Please don’t suggest that users modify core WordPress files. Their changes will be lost when WordPress is updated. Thanks.

    Thread Starter Ahmed Ghazi

    (@aitsys)

    Thank you Camille for your reply.

    The blog charset is UTF-8, so I tried your suggested line with both utf-8 and iso-8859-1 and none of them is working.

    Your help is very much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Strange imported posts characters’ is closed to new replies.