- Home /
Why the OPENURL doesn't really work?
I'm using Application.OpenURL() in my script. I have a variable in the script, and i'm using it in the link.
Example: var variable = blablabla Application.OpenURL("www.example.com/blablabla="+variable+"&blablabla")
But what i got is
www.example.com/blablabla=blablabla%26%238207%3B&blablabla
So strange, why there is %26%238207%3B after it? I'm confused, any suggestion?
What's the content of that variable? Does it contain empty spaces or special characters?
i am looking why openurl does not work with chrome native client
I'm using Application.OpenURL() in my script. I have a variable in the script, and i'm using it call sms in android. Application.OpenURL ("sms:" + port + "?body=content#content"); But what i got is: conent
behind # is lost. Why?
Answer by Bunny83 · Jan 22, 2013 at 02:48 PM
Your actual variable value is
‏
just URL encoded because it contains "&", "#" and ";" characters. This is actually normal and each HTTP client should be able to read this URL parameter.
That is actually the HTML escaped version of the "right-to-left mark". If that's not what you expect you pass the variable in a wrong way i guess.
Your answer
Follow this Question
Related Questions
OpenURL not working on Android 3 Answers
trouble opening URL from within game? 1 Answer
Launch an iOS app with options C# 0 Answers
Unity OpenURL() SMS 1 Answer