Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
jaxim
Level 7

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
EnTerr
Level 8

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