WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] UTF-8 issue (6 posts)

  1. Kerfred
    Member
    Posted 2 years ago #

    Hello Joost,

    I found a bug in wpseo-functions.php. It is about UTF-8 strings.
    Here is the patch.
    Is it possible that you include it in a future release ?
    Thanks.

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

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

  2. Kerfred
    Member
    Posted 2 years ago #

    As the code was moderated, you can find the patch here: http://pastebin.com/GjCsNMQW

  3. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    Can you explain to me what you're trying to solve? Unfortunately, not all WordPress sites run on UTF-8.

  4. Kerfred
    Member
    Posted 2 years ago #

    Of course.
    If we have a post with "à" in the title, for example: "Cheval à bascule", the meta title becomes empty: <title></title> and the description is empty too: <meta name="description" content=""/>

    With my patch, the meta title and the description are good.

  5. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    Ok, tested it on some installs. Will be going into the next release :) thanks!

  6. Kerfred
    Member
    Posted 2 years ago #

    Thank you very much.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.