I am trying to make use of the full special character set, which I understand is this:
However, when I try to print them using the following test function, I get correct A..Z, but with special characters, I get about 60 % correct, some are missing, some are replaced by different characters which seem to be from different line, like I have several battery symbols, but one is missing and is replaced by a totally different character. I am talking about analog OSD message line.
Any ideas why this is happenning?
local k
local i
local z=100
for k=1,6 do
s[k]=“”
for i=1,24 do
s[k]=s[k]..string.char(z)
z=z+1
end
end
if pot>=0000 and pot<=1100 then display=s[1] end
if pot>1100 and pot<=1250 then display=s[2] end
if pot>1250 and pot<=1500 then display=s[3] end
if pot>1500 and pot<=1750 then display=s[4] end
if pot>1750 and pot<=1900 then display=s[5] end
if pot>1900 and pot<=3000 then display=s[6] end
gcs:send_text(5, display)