WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
Problem with Publishing on Fan Page - UTF8 (5 posts)

  1. TheCrazyBastardBG
    Member
    Posted 3 years ago #

    Hi! I have a problem with new version of SFC plugin 0.24. I'm using 3.0.3. bg version of wordpress. My Encode is UTF8. After plugin upgrading when I publish a post and then connect with sfc to publish on fan page, there is a problem with cyrilic publishing.. half problem. Post name seams good, just a post is bad. There is a picture: Click
    What can I do to repair that bug. Please help! Thank you.

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 3 years ago #

    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.

  3. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 3 years ago #

    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.

  4. TheCrazyBastardBG
    Member
    Posted 3 years ago #

    Yes, Thank You. It works!! Before that I'm tried to return older version 0.23 - same problem, but O.22 works great with cyrilic. With editing line 166 and 179 there is no problem too in 0.24. Nice! :)

  5. aldon
    Member
    Posted 3 years ago #

    i have the same problem with Greek.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic