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: 

GetToString method of roUrlTransfer

I am having a problem with the GetToString method of the roUrlTransfer object.

I am parsing the returning website and it has special characters such as upside down question marks, the (1/2) character and likewise.
The GetToString event does not return these characters.

Is there ANYTHING i can do about this? It throws a big monkey wrench in some of my plans.

Thanks,

George
0 Kudos
1 REPLY 1
renojim
Community Streaming Expert

Re: GetToString method of roUrlTransfer

You could GetToFile and then go through the data byte by byte (see roByteArray ReadFile()) and remove or replace the special characters. I don't know if it's the best solution, but it should work.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos