TinyPortal

Development => Support => Topic started by: mrdr on March 26, 2008, 04:33:53 PM

Title: Change encoding in rss feeds
Post by: mrdr on March 26, 2008, 04:33:53 PM
I should change my forum's encoding from UTF-8 on  windows-1250 just for certain rss feed.
How i can do that?
I should put this function in feed i guest $text = iconv('utf-8','windows-1250',$text); ?

???
Title: Re: Change encoding in rss feeds
Post by: G6Cad on March 26, 2008, 04:42:48 PM
You cant do that within TP, tp only render the rss feed you want to use.
You have to contact the site or person that made the feed and ask them to help you.
Title: Re: Change encoding in rss feeds
Post by: mrdr on March 26, 2008, 04:46:57 PM
Hm, they told that is up to me and suggest me to try using above function to try correcting the problem ...
Title: Re: Change encoding in rss feeds
Post by: JPDeni on March 26, 2008, 07:03:15 PM
If that's what they told you, you should give it a try. You can't blow anything up and there's no virus in there. See if it works.
Title: Re: Change encoding in rss feeds
Post by: mrdr on March 27, 2008, 01:55:35 PM
Yes, but i don't know how to implement php and link to rss feed all together?
Title: Re: Change encoding in rss feeds
Post by: IchBin on March 27, 2008, 01:58:16 PM
They told you to do this because you are having what problem? By all means, please explain what/why/how/when/who ...
Title: Re: Change encoding in rss feeds
Post by: mrdr on March 27, 2008, 02:06:41 PM
Omg, see the fonts below title "Infostud poslovi" on document on this link http://www.sendspace.com/file/5cd27x
Title: Re: Change encoding in rss feeds
Post by: IchBin on March 27, 2008, 02:14:46 PM
Now was that so hard? Why didn't you post this information sooner? This topic would only have been 2 posts long, instead of 6 posts long asking questions back and forth when everyone can only assume. To change your forum language, you should seek help from the people who support that forum. www.simplemachines.org
Title: Re: Change encoding in rss feeds
Post by: mrdr on March 27, 2008, 02:28:53 PM
I don't need to change my forum language i should change encoding on just one rss feed as i desribe in a first post!
Title: Re: Change encoding in rss feeds
Post by: IchBin on March 27, 2008, 02:45:31 PM
Yes, but you also said.
QuoteI should change my forum's encoding from UTF-8 on  windows-1250 just for certain rss feed.

Then you asked if you can put it in a function and G6 told you that TP has no control over that. So what do you need at this point that we can help with?
Title: Re: Change encoding in rss feeds
Post by: mrdr on March 27, 2008, 02:51:14 PM
Ok, i need to put that rss into tp block.
But in the same time i should change encoding just for that rss.
Is it more clear now?
:)