WordPress.org

Support

Support » Plugins and Hacks » Yoast SEO » [Resolved] [Plugin: WordPress SEO by Yoast] UTF-8 and meta description

[Resolved] [Plugin: WordPress SEO by Yoast] UTF-8 and meta description

  • I have a problem with displaying non-english charcters in meta description. When plugin makes and excerpt from post content it looks like this:

    Emulsja nawil?aj?ca Intensywnie nawil?aj?ca emulsja dla cery dojrza?ej, uzupe?niaj?ca ilo?? wody w komórkach skóry i …

    I think it may be a problem with utf-8, but I thought that It was fixed in previous releases. Meta description is displayed properly, when I write it by myself. But when plugin makes an excerpt it looks like above.

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 12 replies - 1 through 12 (of 12 total)
  • You need to do a bit of hacking to one file. Are you familiar with editing PHP files?

    It turns out that installing the newest developer release seems to be good solution to the problem. I didn’t notice that before. I’m gonna wait and see the effects in search results.

    Thank you for your response, titans.

    You are welcome. If you can mark this topic as resolved it would be great

    Titanas,

    I also updated to the latest dev build and it did not solve the issue with the bad characters in the description field.

    Oddly enough, the Open Graph Title meta tag has the correctly encoded characters.

    Downloaded and installed from: http://wordpress.org/extend/plugins/wordpress-seo/developers/

    Cheers

    i Have this problem too
    i send email to Yoast but did not answer.
    The discription in my site show :

    Description of these are displayed on my site :
    ????????????????????????????

    And that’s too bad

    xconomy + Ali, if you feel OK with editing a PHP file there is a solution to that. Are you sure/?

    I’m sure Yoast will fix that in he next stable version.

    Yes, titanas, I’m comfortable with PHP, please point me in the right direction.

    Thanks.

    Now that is not right. and its very very bad for me and other site

    I have this problem too.

    this descriptions showing in my site.

    <meta name=”description” content=”?????? ?????????? ???????? ??? ???? ???????? ???? ????? ???? ???? ???????? ??????? ??????? ? (Windows 8) ????????? ???????? ??? ????? ??????? ? ???????????”>

    <meta property=”og:description” content=”?????? ?????????? ???????? ??? ???? ???????? ???? ????? ???? ???? ???????? ??????? ??????? ????????? ???????? ??? ????? ??????? ? ???????????”>

    Please Help Me

    Guys,

    First backup wpseo-functions.php

    Open the file, fine the if statement

    if ( isset( $r->ID ) ) {
    		$replacements = array_merge( $replacements, array(

    Around line 165 there should be %%excerpt%% =>

    replace that and everything following with this

    '%%excerpt%%' => (!empty($r->post_excerpt)) ? strip_tags($r->post_excerpt) : wp_html_excerpt(strip_shortcodes($r->post_content),155),

    Owao! Its work for me!

    Thanks a lot!

    Developers didnt heard us (((

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Resolved] [Plugin: WordPress SEO by Yoast] UTF-8 and meta description’ is closed to new replies.
Skip to toolbar