As ISO 8859 supports % character, this sounds like a reasonable solution
for me. we need to just use urllib2 library to encode it.

Best


On Thu, Jul 10, 2014 at 11:53 PM, Jeremy Baron <jer...@tuxmachine.com>
wrote:

> On Jul 10, 2014 2:48 PM, "Amir Ladsgroup" <ladsgr...@gmail.com> wrote:
> > 2- As our talk in here  I want to make a patch to add username in
> user-agent in header of API calls. but only ISO 8859 is being supported and
> usernames can be anything (utf-8). For usernames that might not compatible,
> people need to put e-mail address in user-config.py. Is it okay for you?
> Any comments?
>
> Why not just percent-encode the username?
>
> _______________________________________________
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
>


-- 
Amir
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to