arjun212
Forum Replies Created
-
Forum: Plugins
In reply to: [Kebo Twitter Feed] Special Characters, not workingSorry for the late reply.
But that seems to ahve fixed the problem.
Thanks alot for your help
Forum: Plugins
In reply to: [Kebo Twitter Feed] Special Characters, not workingThats fine. Thank you very muh for your support.
Could there be a problem with the twitter api you are using to get the tweets from the server? Would it be possible to change the api used, so it doesnt encode ascii characters.
The only other solution i can think of is possibly creating a php function to look for ascii representations at the display, and convert it before being displayed.
Forum: Plugins
In reply to: [Kebo Twitter Feed] Special Characters, not workingUpdated to version 0.6.6, but the single quotes are unfortunately still not being converted.
Can maybe some form of simple preg_replace() be used for this special case. I tried this method, but turns out I do not know regex well enough to attempt it.
I came up with ://Encode Special Case ' to ' $tweet->text = preg_replace('/[&]\#39;/', '\'', $tweet->text);Forum: Plugins
In reply to: [Kebo Twitter Feed] Special Characters, not workingI tried changing the ENT_NOQUOTES to ENT_QUOTES in the get_tweet.php file, to no avail.
The problem i think is that the apostrophe code is ', however it is being read as ', so it is being skipped by the htmlspecialcharacters_decode().
You can see an example of this on my website : https://www.union.ic.ac.uk/osc/india/
The twitter widget is placed in the footer, and the 3rd, and 4rth tweets contain #&39;.
Thanks