redsox9
05-09-2006, 05:18 AM
Hi, everyone:
Time once again for the "it's probably a simple answer" question of the day... :p
On my site, I have a few Latin players that use characters like ñ, é, and the like in their name. Now, I know that a character like ñ translates to ñ if one uses the ISO-8859-1 coded character set.
Here's the problem: I have a little RSS feed retrieval PHP file that collects the title, the link, and the description from the feed and posts it to the front page of my site. For some reason, if I use the special character code in the TITLE section, WordPress translates that to the special character in the feed, though this doesn't happen with the DESCRIPTION section (keeps the ISO-8859-1 coded character).
Now, when I pull the feed through another WordPress site, it is able to recognize the character and translate it properly. However, when I use the retrieval script that I found on the web to retrieve and post it to my front page, it spits out gooblely-gook (I believe that's the technical term).
I believe that there is a PHP string function (htmlspecialchars?) that might solve that issue, but reading through some of the self-help online sections has me confused. So, long story short, is there a way for me to edit the retrieval program so that it looks for special characters in the title and then converts those to the ISO-8859-1 coded character before posting the results on the page?
Any help would be appreciated - thanks!
Time once again for the "it's probably a simple answer" question of the day... :p
On my site, I have a few Latin players that use characters like ñ, é, and the like in their name. Now, I know that a character like ñ translates to ñ if one uses the ISO-8859-1 coded character set.
Here's the problem: I have a little RSS feed retrieval PHP file that collects the title, the link, and the description from the feed and posts it to the front page of my site. For some reason, if I use the special character code in the TITLE section, WordPress translates that to the special character in the feed, though this doesn't happen with the DESCRIPTION section (keeps the ISO-8859-1 coded character).
Now, when I pull the feed through another WordPress site, it is able to recognize the character and translate it properly. However, when I use the retrieval script that I found on the web to retrieve and post it to my front page, it spits out gooblely-gook (I believe that's the technical term).
I believe that there is a PHP string function (htmlspecialchars?) that might solve that issue, but reading through some of the self-help online sections has me confused. So, long story short, is there a way for me to edit the retrieval program so that it looks for special characters in the title and then converts those to the ISO-8859-1 coded character before posting the results on the page?
Any help would be appreciated - thanks!