I am currently working with the twitter api, as i was going trough my code, i’ve notice that when i do a search, i don’t have to do anything to the text, it will appear correctly, but when i retrieve tweets form a home_timeline, i can’t encode it into utf8 or neither decode it in utf8. what would be the encoding that i would need to use or what type of encoding are you using on the text.

I’m working in php.