Problem with arducopter font, some special characters do not print

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)

Because windows doesn’t share the same font. Windows uses standard ASCII.

There is no Windows at all involved.

I send it to OSD by means of message (send_text), and I verify what I see on the OSD screen in goggles.

The erased characters either do not display at all, or are replaced by different symbols.

Notably, all the wind arrow symbols except for the first one, which points up, are replaced by A…H letters.

I did not cross out all of the incorrect symbols, but overall that is the situation I have.

Like Lon displayed, but Lat is not, instead some special dot appears instead.