I don't know what's the encoding present in this phrases (and I'd like a answer to this too). Mainly, I'd like change my phrases to it.
For example:
Hello World! becomes Hello%20World!%0A
Olá mundo! becomes Ol%C3%A1%20mundo!%0A%0A
I'd like a python solution for this.
If I have
>>>
Phrase='Olá mundo!'
How to change it to
>>>
FinalPhrase'Ol%C3%A1%20mundo!%0A%0A'
using Python?
Google uses it in your translation site, for example:
See:
http://translate.google.com.br/#en|pt|Hello%20World!%0A%0A
http://translate.google.com.br/#pt|en|Ol%C3%A1%20mundo!%0A
I need this use in Web applications and do urls to connect to some sites who uses this type of url.