Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jaxim
Visitor

Best Way to encode a URL

I'd like to encode parameters so they can properly be passed in a URL. What is the best way to do this?

I tried the following, but I received a thread error. 

url = CreateObject("roUrlTransfer")
sURLEncoded = url.Escape(urlToEncode) 


Is there a different way to do this so I don't get a thread error?
0 Kudos
1 REPLY 1
EnTerr
Roku Guru

Re: Best Way to encode a URL

Try this workaround i whipped: viewtopic.php?f=34&t=96379#p538882
Read the whole thread re discussion.
0 Kudos