Skip to:

swedish letters in the plugin quote

  • Hello, I love the function to qoute another person – thanks!

    But when I’m trying to qoute a text with swedish letters (like: “å,ä,ö”) I can’t get it to work. I get “ä” instead :S

    Is there a simple soulution for this problem?

Viewing 4 replies - 1 through 4 (of 4 total)

  • chrishajer


    The original post is OK but the quoted characters are mixed up only?

    There is a line in the quote plugin that converts all special characters to their HTML equivalents.

    if ($row) echo htmlentities('<blockquote>'.$row->post_text.'</blockquote>');

    (Some code is cut off to the side because of the forum’s limited width) I assume that the problem lies here. My guess is that it returns a different character format to the one your browser is using?

    Get your quote.php file in your plugin folder and change this code to

    if ($row) echo htmlentities('<blockquote>'.$row->post_text.'</blockquote>', ENT_COMPAT, 'UTF-8');

    Upload the new version to your server and see if it works. :) If not, undo changes, save and upload the original file.

    That’s just my guess; the first thing I would try. I don’t actually know.

    It works :D


    Thanks also – I’ve updated the plugin and tagged 0.2.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar