Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 12:56 pm EST
Geeklog Forums
RSS Feeds not showing the correct characters
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' {
$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.
11
11
Quote
All times are EST. The time is now 12:56 pm.
- 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