the_title is messing with special characters
-
Hi!
I have a huge problem. I’m presenting a rss feed on my homepage which is declared by the_title
<?php $sokord = the_title('','',false); $url = "https://news.google.com/news?hl=en&q=" . $sokord ."&ie=UTF-8&output=rss"; echo(read_rss_mini4("$url")); ?>
So far so good…
But when i have a word with a special character (???, i’m swedish) i want to rewrite the special character to different characters to get my function to work. for example: “?” -> “%C3%B6”
My feeling is that this problem i caused by a character rewrite in “the_title”. How can I disable this?
Ok, one more time. This is what i want
Word = m?te (declared by the_title)
fetch rss = https://news.google.com/news?hl=en&q=m%C3%B6te (also declared by the_title) &ie=UTF-8&output=rssCan anyone help with this critical problem???
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘the_title is messing with special characters’ is closed to new replies.