Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
kadabram
Hangin' Around



Joined: Oct 29, 2007
Posts: 30

PostPosted: Tue Jul 07, 2009 2:03 pm Reply with quote

Hello,

My RavenNuke powered Website uses UTF-8. I made the changes in the CMS language folder:
Code:
define('_CHARSET','UTF-8');


All the Website is displaying accented characters perfectly, exepted a script that process a search for external feeds.

The problem is only with Firefox. Each accented character is replaced by
Quote:
?
symbol.

There must be a conflict between my parameters (UTF-8) and the text the module sends (ISO-8859-1). No problem with Internet Explorer, but awful result with Firefox.

The soultion could be to force the module to send UTF-8. But how?

I need your help.

Thanks!
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Jul 15, 2009 9:50 am Reply with quote

Have you resolved this?
 
View user's profile Send private message
kadabram







PostPosted: Wed Jul 15, 2009 7:31 pm Reply with quote

Hello Raven,

No, unfortunately, I didn't. I think it is possible to do this with an external file (for example, a .inc file), but I don't have the skills to do this.
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Thu Jul 16, 2009 12:56 am Reply with quote

Make sure when you view the source code that the header information is showing utf-8
You may also need to convert you DB data and make sure the DB is using utf-8.

I don't think thats your problem though as you said you only have the problem with one script which pulls an external feed.
You may need to check the file(s) relating to that script to see if it is using a DTD or some other mechanism which tells the browser how to handle the feed data - it could be that the script is saying to use a different character encoding (though they should be using utf-Cool.
One other thing to check is the originating site to make sure the site data is in utf-8 - it shouldn't really matter because they should be using utf-8 on the feed output but remember, not all feeds are valid so it would be worth validating the feed with one of the many free online RSS or XML feeds validators.
 
View user's profile Send private message Send e-mail
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©