Info
- 5 posts
- 4 voices
- Started 4 years ago by flaerpen
- Latest reply from mikenolan
- This topic is not resolved
swedish letters in the plugin quote
-
- Posted 4 years ago #
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?
-
- Posted 4 years ago #
The original post is OK but the quoted characters are mixed up only?
-
- Posted 4 years ago #
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.
-
- Posted 4 years ago #
It works :D
Thanks!
-
- Posted 4 years ago #
Thanks also - I've updated the plugin and tagged 0.2.
-
You must log in to post.