WordPress.org

Support

Support » Plugins and Hacks » Simple Facebook Connect » [Plugin: Simple Facebook Connect] Non-ascii characters not working in autopublish

[Plugin: Simple Facebook Connect] Non-ascii characters not working in autopublish

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    Open SFC-Publish.php and find this line (166):
    $text = html_entity_decode($text, ENT_QUOTES, 'UTF-8');

    Try removing the ‘UTF-8′ from the end, so it looks like this:
    $text = html_entity_decode($text, ENT_QUOTES);

    See if that makes any difference.

    Plugin Author Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    Also try changing line 179 from this:
    return utf8_encode($text);

    to this:
    return $text;

    If that works, I’ll put it in the next release.

    I can also confirm that everything works perfectly after I made these two changes (lines 166 and 179)

    Plugin Author Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    Turns out that line 179 is the only change required.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Simple Facebook Connect] Non-ascii characters not working in autopublish’ is closed to new replies.
Skip to toolbar