-
- # I'm not proud. Blame billg.
- import sys
- json['text'] = str(json['text'].encode(sys.stdout.encoding, 'replace'))[2:-1]
- if 'user' in json:
- json['user']['screen_name'] = str(json['user']['screen_name'].encode(sys.stdout.encoding, 'replace'))[2:-1]
-