Use safe_unicode to avoid to decode twice