Hi, Cameron. I used $text = utf8_decode($status->text);
and it works! Thanks a lot On 20 Mar, 13:54, Cameron Kaiser <[email protected]> wrote: > > The problem is in special chars. If I wrote (in italian) the following > > text: > > > "Il mio nome _ Carlo" > > > the API returns something like: > > > "Il mio nome _ Carlo" > > > I used PHP function htmlspecialchars(), but with no success. > > Your problem here is UTF-8 (which of course Elm just ate), not HTML special > characters. Going into PHP multibyte support is not germaine for this list, > but look at the utf8_{encode,decode} functions, iconv and mbstring. This is a > nice cheatsheet on mbstring: > > http://www.nicknettleton.com/zine/php/php-utf-8-cheatsheet > > -- > ------------------------------------ personal:http://www.cameronkaiser.com/-- > Cameron Kaiser * Floodgap Systems *www.floodgap.com* [email protected] > -- When relatives are outlawed, only outlaws will have inlaws. > ----------------
