Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 10:14 am EDT

Geeklog Forums

RSS Feeds not showing the correct characters


Status: offline

ehelm

Forum User
Chatty
Registered: 04/09/03
Posts: 37
Hi, when my RSS feeds are shown on my Geeklog site, the Norwegian letters æ, ø and å are not shown correct. Could someone please help me?

Thanks
 Quote

Status: offline

dirtyjensen

Forum User
Newbie
Registered: 04/20/08
Posts: 7
Quote by: ehelm

Hi, when my RSS feeds are shown on my Geeklog site, the Norwegian letters æ, ø and å are not shown correct. Could someone please help me?

Thanks



Hello

Try this i config.php


$_CONF['language'] = 'norwegian_utf-8';
$_CONF['default_charset'] = 'utf-8';


If this is not working you have to convert your site to utf-8 the is a guide here
http://www.gllabs.org/wiki/doku.php?id=geeklog:utf-8 worked for me.


But you can try this here below to.

THEMike made this hack:

I can give you a hack that will work until 1.5 and a final release is available...

Find COM_rdfImport in lib-common.php:

PHP Formatted Code

if ($charset == 'utf-8'Wink {
$title = $feed->articles[$i]['title'];
} else {
$title = utf8_decode($feed->articles[$i]['title']);
}



Replace with:

PHP Formatted Code

$title = $feed->articles[$i]['title'];



Of course this will break support for UTF-8 Feeds, but, since this is what's broken support for your feed, that may be an acceptable trade off for you.




 Quote

Status: offline

ehelm

Forum User
Chatty
Registered: 04/09/03
Posts: 37
Thanks...but I am running om 1.5, what do I do then?
 Quote

All times are EDT. The time is now 10:14 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content