Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 8

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\
Level 11

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