Error tweeting an URL



I’m trying to implement twitter share on my website and I’m having some troubles.
I’m trying to tweet this link: “ão” but when I go to see on twitter the link is broken because of “ã” character. The search must be “keysão”, I can’t ignore and use “keysao”.

Do you guys have some idea to help me?



You need to percent-encode UTF-8 strings in a URL for validity.

In this case, “?keyword=keysão” should be “?keyword=keys%C3%A3o”

closed #3