FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Memberlist ?????Register ?????Profile? ????Log in
?Character Encoding??? View next topic
View previous topic
Post new topicReply to topic
Author Message
lem



Joined: 27 Dec 2005
Posts: 8

PostPosted: Tue Jan 17, 2006 4:07 pm Reply with quoteBack to top

This is out of my territory. here is my test page for this site.
http://www.cclburg.com/rss/

I get this return for the rss2html section:

?‹ ?KL?ŠIU(?‰W?ˆ/H?S VpKMMQ(*.NI-N?–+(?‘QH?ˆ,?‰?ŒKb:Y- ?‹ ?KL?ŠIU(?‰W?ˆ/H?S VpKMMQ(*.?Ž?‹OI-N?–+(?‘QH?ˆ,?‰?ŒK?‚?/ ?‹ ?KL?ŠIU(?‰W?ˆ/H?S VpKMMQ(*.?Ž?‹OI-N?–+(?‘QH?ˆ,?‰?ŒK?‚?/

Is there a setting I need to have the webhost change to allow the script to work, or possible something in the php that I can adjust so I have control of the issue instead of the webhoster?

It looks like everything is working, it's just converting to the above output.
I have the same set-up working on another site that is on a Linux server, and everything is awesome.

Thanks
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 653

PostPosted: Tue Jan 17, 2006 4:50 pm Reply with quoteBack to top

lem wrote:
This is out of my territory. here is my test page for this site.
http://www.cclburg.com/rss/

I get this return for the rss2html section:

?‹ ?KL?ŠIU(?‰W?ˆ/H?S VpKMMQ(*.NI-N?–+(?‘QH?ˆ,?‰?ŒKb:Y- ?‹ ?KL?ŠIU(?‰W?ˆ/H?S VpKMMQ(*.?Ž?‹OI-N?–+(?‘QH?ˆ,?‰?ŒK?‚?/ ?‹ ?KL?ŠIU(?‰W?ˆ/H?S VpKMMQ(*.?Ž?‹OI-N?–+(?‘QH?ˆ,?‰?ŒK?‚?/

Is there a setting I need to have the webhost change to allow the script to work, or possible something in the php that I can adjust so I have control of the issue instead of the webhoster?

It looks like everything is working, it's just converting to the above output.
I have the same set-up working on another site that is on a Linux server, and everything is awesome.

Thanks


You have to make sure the character set used by the RSS feed is the same as the one used by the webpage you are including it in. Since most new feeds use UTF-8 you would have to add something like



in the section of your webpage. If your feed is not in UTF-8, change the above to match.

Jim
View user's profileSend private messageVisit poster's website
lem



Joined: 27 Dec 2005
Posts: 8

PostPosted: Tue Jan 17, 2006 6:36 pm Reply with quoteBack to top

Add UTF-8 to http://www.cclburg.com/rss, and got below:

? ?L?U(??H? VpKMMQ(*.?OI-N??(?H???K??? ? ?L?U(??H? VpKMMQ(*.?OI-N??(?H???K??? ? ?L?U(??H? VpKMMQ(*.?OI-N??(?H???K??? ? ?L?U(??H? VpKMMQ(*.?OI-

I went back to the xml feeds to check there encoding, and tried ISO-8859-1 and the results were the same as the the original issue.

The other site I am testing it on is http://www.bebetterdomore.com/rss
which works regardless of: (currently, I left it in there).


The host chosen is www.aplus.net. I've read how others have had Apache issues. Don't know if that applies to me? I also visted www.utf-8.com which mentioned an edit for Apache???
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 653

PostPosted: Tue Jan 17, 2006 6:55 pm Reply with quoteBack to top

lem wrote:
Add UTF-8 to http://www.cclburg.com/rss, and got below:

? ?L?U(??H? VpKMMQ(*.?OI-N??(?H???K??? ? ?L?U(??H? VpKMMQ(*.?OI-N??(?H???K??? ? ?L?U(??H? VpKMMQ(*.?OI-N??(?H???K??? ? ?L?U(??H? VpKMMQ(*.?OI-

I went back to the xml feeds to check there encoding, and tried ISO-8859-1 and the results were the same as the the original issue.

The other site I am testing it on is http://www.bebetterdomore.com/rss
which works regardless of: (currently, I left it in there).


The host chosen is www.aplus.net. I've read how others have had Apache issues. Don't know if that applies to me? I also visted www.utf-8.com which mentioned an edit for Apache???


Since these are on different servers, they might be compiled differently with different default encoding. But that is hard to say.

Jim
View user's profileSend private messageVisit poster's website
Display posts from previous:?? ? ?
Post new topicReply to topic


?Jump to:? ?



View next topic
View previous topic


Powered by phpBB ? 2001, 2002 phpBB Group :: FI Theme