WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Elegant Twitter Widget] How to make Elegant Twitter widget utf-8 compliant? (3 posts)

  1. anabelle
    Member
    Posted 4 years ago #

    Actually, when a tweet contains á é í ó ú ñ, etc, it breaks each character as a separate tweet.

    How can we solve this?

  2. oliverseal
    Member
    Posted 4 years ago #

    I had a similar problem with things like quotes causing issues

    Put this after line 122 in wp-content/plugins/elegant-twitter-widget.php

    $response = str_replace('<text>', '<text><![CDATA[', $response);
    $response =     str_replace('</text>', ']]></text>', $response);

    Might help.

  3. magudelo62
    Member
    Posted 3 years ago #

    Hi Oliverseal, this code works perfectly, it’s wonderful!, and this dosen´t work if you us the spanish lenguaje!

Topic Closed

This topic has been closed to new replies.

About this Topic