Tweet text should probably be marked for localization. Jinja2 should have a filter for url-escaping the text.