Your Digital Media Has Never Looked So Good

 
xoceunder
Topic Author
Posts: 62
Joined: Wed Dec 14, 2016 4:08 pm

Help with characters

Tue May 23, 2017 12:10 pm

Help with characters that are displayed as I can remove them

Image
 
User avatar
RokuKC
Posts: 315
Joined: Wed Sep 10, 2014 10:44 am
Location: Roku HQ

Re: Help with characters

Wed May 24, 2017 7:15 pm

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

Image


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
 
User avatar
marcelo.cabral
Posts: 377
Joined: Tue Mar 20, 2012 8:53 am

Re: Help with characters

Wed May 24, 2017 10:17 pm

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

Image


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 ? 
 
xoceunder
Topic Author
Posts: 62
Joined: Wed Dec 14, 2016 4:08 pm

Re: Help with characters

Thu May 25, 2017 11:21 am

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

Image


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
 
User avatar
RokuKC
Posts: 315
Joined: Wed Sep 10, 2014 10:44 am
Location: Roku HQ

Re: Help with characters

Mon May 29, 2017 11:09 am

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


I don't think there is anything planned in the short term.
 
User avatar
RokuNB
Posts: 465
Joined: Fri Mar 31, 2017 2:22 pm

Re: Help with characters

Tue May 30, 2017 10:00 am

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)
 
xoceunder
Topic Author
Posts: 62
Joined: Wed Dec 14, 2016 4:08 pm

Re: Help with characters

Tue May 30, 2017 10:08 am

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).  8)

Thanks friend already solved

Who is online

Users browsing this forum: No registered users and 3 guests