Page 1 of 1

Hebrew?!

PostPosted: Sat May 29, 2004 2:44 pm
by Ben Kol
for some reason Hebrew characters are equel "0" so in order for hebrew to work I need to a few changes to the announcement files:
change this:
text[num] = val;
text[num+1] = 0;
len = 0;
while (text[len]) len = len + 1;

to this:
text[num] = val;
text[num+1] = 257;
len = 0;
while (text[len]<257) len = len + 1;

PostPosted: Sun Jun 06, 2004 8:24 am
by rabidhamster
right. i'll look into it - and into R4's commands for returning international characters. That solution may not work (may crash R4) on one or two of the announcements so i'll see if there's a better way - maybe to retrieve the full ascii value of the text.