Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 02-02-2005, 04:20 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Å Ä Ö

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 Å Ä Ö...
Reply With Quote
  #2  
Old 02-02-2005, 06:35 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Hard to tell since it doesn't show up on this forum either!
Reply With Quote
  #3  
Old 02-02-2005, 08:27 PM
Connie
Guest
 
Posts: n/a
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
Reply With Quote
  #4  
Old 02-04-2005, 04:35 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
ok, I just have to wait then...

Thanks
Reply With Quote
  #5  
Old 02-20-2005, 10:16 AM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
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:

Code:
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
Code:
$md_empty_element_suffix = " />";     # Change to ">" for HTML output
to:

Code:
$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
Reply With Quote
  #6  
Old 02-20-2005, 10:19 AM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Oh i forgot, i,ve changed one more line :-)

Code:
$body = utf8_decode(stripslashes($imagerow['body']));
became:

Code:
$body = stripslashes($imagerow['body']);
as you can see, i just took away a function there again! :-)
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 04:09 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs