View Full Version : Å Ä Ö
Anonymous
02-02-2005, 04:20 PM
I really like Pixelpost, but i have onte question. Why doesn't Å Ä Ö show up in the Image description / text on the blog? I get Ã¥ ä ö instead, my blog is in Swedish so I would like Å Ä Ö...
Anonymous
02-02-2005, 06:35 PM
Hard to tell since it doesn't show up on this forum either!
Connie
02-02-2005, 08:27 PM
This is a question of special characters, the character-encoding which is set up in the templates and the way the data is entered in the database
this topic is known, I have problems with german umlauts as well, but the next release will take care of it, Punk promised it! :P
Anonymous
02-04-2005, 04:35 PM
ok, I just have to wait then...
Thanks
Anonymous
02-20-2005, 10:16 AM
Hello (Hej..)..
I solved the issue by changing some lines in the function clean(). in admin/index.php
I dont know if i've removed som importatn functionallity by doing it this way, but it works fine for me!
I changed the function to:
function clean($string) {
$string = htmlspecialchars($string);
//$string = utf8_encode($string);
$string = addslashes($string);
return $string;
}
And then i changed the line in markdown.php that sais
$md_empty_element_suffix = " />"; # Change to ">" for HTML output
to:
$md_empty_element_suffix = " >"; # Change to ">" for HTML output
It's nothing i recommend someone without some php knowledge to to, because i just fixed it out of pure irritation, and probably was there some point of that function being written the way it was from the start!
//Kim
Anonymous
02-20-2005, 10:19 AM
Oh i forgot, i,ve changed one more line :-)
$body = utf8_decode(stripslashes($imagerow['body']));
became:
$body = stripslashes($imagerow['body']);
as you can see, i just took away a function there again! :-)
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.