WordPress.org

Ready to get started?Download WordPress

Forums

WP RSS Multi Importer
Return an excerpt encoded with UTF8 (3 posts)

  1. angezanetti
    Member
    Posted 1 year ago #

    Hey,

    First, thanks for your plugin. I just discover it and honestly it rocks :p
    But, i'm french so i Looove weird letters like é,à,è... And the function showexcerpt() don't return the text as a UTF8 encoded text.
    I made the modification on my own WP install but it can be cool to add it in the next version.

    To do it, just edit the line 48 in excerpt_function.php and remplace it by
    [code]
    return str_replace($morestyle, "".$morestyle."", utf8_encode($content));
    [/code]

    Hope it helps,

    Greetings from France

    http://wordpress.org/extend/plugins/wp-rss-multi-importer/

  2. Allen
    Member
    Plugin Author

    Posted 1 year ago #

    Bonjour,

    That's a great idea...you'll notice I have a function in excerpt_function.php that tries to replace weird letters, but it appears it didn't get yours...so I'll try adding this as an option to make sure this works in case my function doesn't take care of it.
    Also, can you give me a URL of the RSS feed where you found you needed this fix so I can test it out?

    Thanks for pointing this out.

    Allen

  3. angezanetti
    Member
    Posted 1 year ago #

    Hello, every French RSS feed seems to need this fix. You can test it with the one i used : http://pinterest.com/bienchezsoi/architecture-et-couleurs/rss

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags