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: 
xoceunder
Roku Guru

Help with characters

Help with characters that are displayed as I can remove them

0 Kudos
6 REPLIES 6
RokuKC
Roku Employee
Roku Employee

Re: Help with characters

"xoceunder" wrote:
Help with characters that are displayed as I can remove them



You might want to debug to see what those mysterious character codes are.  
I assume you control these strings?

In your BrightScript you can print them out to the debug console, e.g.
for each c in str.split(""):print c, asc(c):end for
0 Kudos
marcelo_cabral
Roku Guru

Re: Help with characters

"RokuKC" wrote:
"xoceunder" wrote:
Help with characters that are displayed as I can remove them



You might want to debug to see what those mysterious character codes are.  
I assume you control these strings?

In your BrightScript you can print them out to the debug console, e.g.
for each c in str.split(""):print c, asc(c):end for


BTW Roku has any plan to support emoticons ? 
0 Kudos
xoceunder
Roku Guru

Re: Help with characters

"RokuKC" wrote:
"xoceunder" wrote:
Help with characters that are displayed as I can remove them



You might want to debug to see what those mysterious character codes are.  
I assume you control these strings?

In your BrightScript you can print them out to the debug console, e.g.
for each c in str.split(""):print c, asc(c):end for


thanks friend
0 Kudos
RokuKC
Roku Employee
Roku Employee

Re: Help with characters

"marcelo.cabral" wrote:
BTW Roku has any plan to support emoticons ? 


I don't think there is anything planned in the short term.
0 Kudos
RokuNB
Roku Guru

Re: Help with characters

"RokuKC" wrote:
You might want to debug to see what those mysterious character codes are.

My money are on these particular ones being chr(13) from strings coming from windows text file (using CR+LF for line end). 8-)
0 Kudos
xoceunder
Roku Guru

Re: Help with characters

"RokuNB" wrote:
"RokuKC" wrote:
You might want to debug to see what those mysterious character codes are.

My money are on these particular ones being chr(13) from strings coming from windows text file (using CR+LF for line end).  😎

Thanks friend already solved
0 Kudos