laouran
Forum Replies Created
-
Forum: Plugins
In reply to: [Kebo Twitter Feed] Problems with spécials charactersGone a few days and i’m in version 0.5.13 !
It’s all good for me too.
Excellent !!Forum: Plugins
In reply to: [Kebo Twitter Feed] Problems with spécials charactersHi Peter,
This happens only with with the french special chars :).
A sentence with accents ( in bold ) :
Un conseiller juriste se tiendra gratuitement à la disposition des Bigoudens, mercredi 4 septembre au siège de la… http://t.co/sTxzAifoNK 02 sept 2013 16:51Thanx to you
Forum: Plugins
In reply to: [Kebo Twitter Feed] Problems with spécials charactersBack on my site today, i find out characters were bad again… arg !
So, i manage to get it right by bypassing our utf8_encode…
Seems that the tweets were in utf8, and don’t even need a htmlspecialchars !
( I don’t have time to fully understand the whole thing, but i bet it’s work through json_encode witch compute only utf8 data. )Looking around, i found this : http://www.phpriot.com/articles/php-twitter-api-screencast
So a i had a final htmlspecialchars() function after, just in case.so :
// Encode Special Chars // $tweet->text = utf8_encode($tweet->text); // no need $tweet->text = htmlspecialchars($tweet->text ) ;// just in case !hope it helps.
Forum: Plugins
In reply to: [Kebo Twitter Feed] Problems with spécials charactersupgrade done, it’s fine now on 0.5.10 !
Thanks Peter.Forum: Plugins
In reply to: [Kebo Twitter Feed] Problems with spécials charactersI think i get abuse by transient/cache , i only need the htmlspecialchars transformation. ( removing htmlentities )