In the future you might get strings with special characters, which will be encoded as UTF-8 or Latin-1, but you can't tell *now*.
If you have to guess at encoding, any string that parses as UTF-8 is UTF-8. Otherwise you need more elaborate heuristics or a fixed fallback
-
-
FWIW this approach is used successfully in most modern IRC clients.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.