print Asc("ä")
Make sure your .brs source code file is UTF-8 encoded if you are embedding non-7-bit ASCII characters, e.g. in string constants.
"sonnykr" wrote:Make sure your .brs source code file is UTF-8 encoded if you are embedding non-7-bit ASCII characters, e.g. in string constants.
I tried Asc("ä") directly on Roku debugger console, and it returns 0 instead of the ASCII value.
BrightScript Debugger> s = chr(228): ? s, len(s), asc(s)
? 1 228
"sonnykr" wrote:
oh! I see.. thank you RokuKc and renojim! That solves my first issue.
Still unsure why roScreen does not render special chars
"RokuKC" wrote:"sonnykr" wrote:
oh! I see.. thank you RokuKc and renojim! That solves my first issue.
Still unsure why roScreen does not render special chars
What font are you using?